Running Batch File in background when windows boots up

Running Batch File in background when windows boots up

How do I run a batch file each time windows boots up also I need to run it in the back ground(without that command window getting displayed)? I use Windows Xp. My actuall requirement is I want to start the Tracd server using the command line commands whenever Windows boots up.

SVN says I need to perform cleanup, but the cleanup fails [duplicate]


As a developer, what changes do you make to a vanilla Windows install?
Add your program in the registry:.
How can I make a text file with paths to all my files of a given extension?
Run - These are the most common startup locations for programs to install auto start from.

How to simulate keybard input to a remote desktop session?
By default these keys are not executed in Safe mode.

How to uninstall a windows service and delete its files without rebooting
If you prefix the value of these keys with an asterisk, *, is will run in Safe Mode.

Getting Vista/Windows Search/propsys.dll properties from the shell in managed code
Registry Keys:.
tools for diffing windows binaries?
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run registry key HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run registry key  
Then you can launch your batch in an invisible mode:.
Minimum specs for XAMPP server on Vista
wscript.exe "C:\yourpath\invis.vbs" "your_file.bat" 
In invis.vbs put....
CreateObject("Wscript.Shell").Run """" & WScript.Arguments(0) & """", 0, False 


Two other startup posibilties:.
  • you could always add the bat file to the startup folder,
  • or start it as a Scheduled task setting to run on logon.


You can make an application run as a service.. Check this article for details:.


You can use autoexnt for this.

It was original designed for windows NT, but is still working in newer versions of windows.. You have to download the Windows 2003 Resource Kit to get it..


There's also hstart, a third party program that's worked well for my needs.

It's maintained too.

The last version was released on July 7, 2010..


You can just use the start command.. Start This will open it in your default browser..

76 out of 100 based on 46 user ratings 646 reviews