FlamingClaw Posted December 16, 2008 Share Posted December 16, 2008 I wanna make my program to run on system startup.How can I do that?Please help me someone...... Link to comment Share on other sites More sharing options...
Rezant Posted December 16, 2008 Share Posted December 16, 2008 (edited) I wanna make my program to run on system startup.How can I do that?Please help me someone......make a program then put it in the startup folder I believe it would be here C:\Documents and Settings\All Users\Start Menu\Programs\Startup Edited December 16, 2008 by Rezant Link to comment Share on other sites More sharing options...
z0mgItsJohn Posted December 16, 2008 Share Posted December 16, 2008 (edited) Here's A Little Example.. That Should Help ** Copy And Run This Script.. ** ConsoleWrite ('@StartMenuCommonDir.. "' & @StartMenuCommonDir & '"' & @CRLF) ConsoleWrite ('@StartMenuDir.. "' & @StartMenuDir & '"' & @CRLF) ConsoleWrite ('@StartupCommonDir.. "' & @StartUpCommonDir & '"' & @CRLF) ConsoleWrite ('@StartupDir.. "' & @StartupDir & '"' & @CRLF) ; Example Placeing "Test.Au3" Into.. StartupDir ; FileCopy ('Test.Au3', @StartupDir & '/Test.Au3') ; Hope This Helps ~~~~~ ; - John Edited December 16, 2008 by John2006 Latest Projects :- New & Improved TCP Chat Link to comment Share on other sites More sharing options...
99ojo Posted December 16, 2008 Share Posted December 16, 2008 make a program then put it in the startup folder I believe it would be here C:\Documents and Settings\All Users\Start Menu\Programs\Startuphi,if you put the program in this folder, the script is only executed, if someone is login to the computer. If you want to start a program at system startup, even if someone is logged on or not, create a task, which starts at system startup. See schtasks /? or schtasks /create /?;-)Stefan Link to comment Share on other sites More sharing options...
SoftVoile Posted December 16, 2008 Share Posted December 16, 2008 there are many ways like Task Shedule StartUp Folder Registry Run Run as service but most effective is using registry run RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run", @ScriptName, "REG_SZ", @ScriptFullPath) add this code in your script where you want the script to add startup run. Unresolved topics:1- Please help me in Editing or replacing a page in FireFox and IE.Please have a look at them. Link to comment Share on other sites More sharing options...
99ojo Posted December 16, 2008 Share Posted December 16, 2008 That's right, but keep in mind, that the program is running under localsystem credentials. This may cause other problems. So you first have to check, what is your program doing and if you need special access rights (e.g. network share). Then you can decide, which way you use to start the script on system startup. ;-)) Stefan 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