Saved Bookmarks
| 1. |
Solve : .bat to run at startup I STILL NEED HELP 9/16/07? |
|
Answer» Ok iv looked through pages 1-172 so if this has already been covered i apologize you can either , put in in startup folder, or put it in a scheduled task to run after computer starts up usingthat helps greatly but is that all the code i need?Quote from: PHREKER on September 15, 2007, 07:28:00 PM Quote from: ghostdog74 on September 15, 2007, 07:20:58 PMNo, he means that you should look at schtasks /create /?, and from there you should be able to see all the commands available; these commands will let you do what you are trying to achieve.Quote from: Dark Blade on September 15, 2007, 07:45:45 PMyou can either , put in in startup folder, or put it in a scheduled task to run after computer starts up usingthat helps greatly but is that all the code i need? Quote from: PHREKER on September 15, 2007, 07:28:00 PMok thank you very muchQuote from: ghostdog74 on September 15, 2007, 07:20:58 PMNo, he means that you should look at schtasks /create /?, and from there you should be able to see all the commands available; these commands will let you do what you are trying to achieve.you can either , put in in startup folder, or put it in a scheduled task to run after computer starts up usingthat helps greatly but is that all the code i need? i tried doing tat but all i get is "not recognized as ......"What do you TYPE in?Quote from: Dark Blade on September 15, 2007, 08:26:39 PM What do you type in?iv tried all of the following schtasks/? create? schtasks/create/? (i feel like a retard)What's your OS? From this site, I think that only the following platforms include SCHTASKS: • Microsoft Windows Server 2003, Datacenter Edition (32-bit x86) • Microsoft Windows Server 2003, Enterprise Edition (32-bit x86) • Microsoft Windows Server 2003, Standard Edition (32-bit x86) • Microsoft Windows Server 2003, Web Edition • Microsoft Windows XP Professional for Itanium-based systems • Microsoft Windows Small Business Server 2003 Standard Edition • Microsoft Windows Small Business Server 2003 Premium Edition Quote from: Dark Blade on September 15, 2007, 08:45:11 PM What's your OS?windows XP homeWell, it's a possibility that you don't have schtasks on your computer, so you can DOWNLOAD it from here. From there, just place it in system32, and then try the commands again.schtasks is not in XP home. sorry about that.Quote from: Dark Blade on September 15, 2007, 08:50:41 PM Well, it's a possibility that you don't have schtasks on your computer, so you can download it from here. From there, just place it in system32, and then try the commands again.ok i got it but how do i make it so that the bat file runs on start up (whats the code) should i use the run cmd lineanother way to run script at startup is "Registry Entry" ------------------------------------------------------------------------ create new "REG_SZ" value in : HKLM\software\Microsoft\Windows\CurrentVersion\Run name : anything data : path to your batchfile (ie c:\startup.bat) ------------------------------------------------------------------------ or from command line to add registry value : REG ADD "HKLM\software\Microsoft\Windows\CurrentVersion\Run" /v Anything /t REG_SZ /d "c:\startup.bat" Quote from: Fen_Li on September 17, 2007, 03:16:27 PM another way to run script at startup is "Registry Entry"REG ADD "HKLM\software\Microsoft\Windows\CurrentVersion\Run" /v Proxy /t REG_SZ /d "c:\Proxy.bat" ... is exactly what i typed in my DOS box. It says "ERROR: Invalid key name" but this seems to work just need to fix the script.... |
|