d4rk Posted February 29, 2008 Share Posted February 29, 2008 (edited) 2,i've this code, i want to copy a program itself to C:\WINDOWS\system32 then but i can't find any file at System32 folder filecopy(@AutoItExe,"C:\WINDOWS\system32") regwrite("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run","NbHelper","REG_SZ","C:\WINDOWS\system32") it's my pleasant for me to receive a reply, thx Edited February 29, 2008 by d4rk [quote]Don't expect for a perfect life ... Expect a least troubles ones[/quote]Contact me : ass@kiss.toWhat I Have Done :Favorites Manager Mangage your favorite's folder, that's coolPC Waker For those who want to save stickersWebScipts Supporter For those who've just started with Web and WebScriptsTemporary Looker Simple but powerful to manage your Temporary folder, you know what you downloaded[UDF] _NumberFormat() Better performance on number display[UDF] _DirGet() What a folder contain [how many (hidden,normal,...) files], with one line of code[UDF] _IsPressEs() Just like _IsPress() but for a group of keys Link to comment Share on other sites More sharing options...
martin Posted February 29, 2008 Share Posted February 29, 2008 (edited) 2,i've this code, i want to copy a program itself to C:\WINDOWS\system32 then but i can't find any file at System32 folder filecopy(@AutoItExe,"C:\WINDOWS\system32") regwrite("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run","NbHelper","REG_SZ","C:\WINDOWS\system32") it's my pleasant for me to receive a reply, thx @AutoItExe is AutoIt3.exe if you aren't running a compiled script. You didn't say if the script was compiled so maybe that's the problem. If the script isn't compiled then use @ScriptFullPath instead of @AutoItExe. Otherwise add some debugging code such as ConsoleWrite(@AutoItExe & @LF) Edited February 29, 2008 by martin Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script. Link to comment Share on other sites More sharing options...
d4rk Posted February 29, 2008 Author Share Posted February 29, 2008 thanks, may be i missunderstand @AutoItExe, actually, i want to copy a program by itself, yoh, Ex : i've a program on the USB and i want when i run it, it will auto copy itself to a folder [quote]Don't expect for a perfect life ... Expect a least troubles ones[/quote]Contact me : ass@kiss.toWhat I Have Done :Favorites Manager Mangage your favorite's folder, that's coolPC Waker For those who want to save stickersWebScipts Supporter For those who've just started with Web and WebScriptsTemporary Looker Simple but powerful to manage your Temporary folder, you know what you downloaded[UDF] _NumberFormat() Better performance on number display[UDF] _DirGet() What a folder contain [how many (hidden,normal,...) files], with one line of code[UDF] _IsPressEs() Just like _IsPress() but for a group of keys Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now