PDA

View Full Version : Running a autobat.exe on startup for windows need help



luke0927
March 13th, 2009, 07:59 PM
Hello, I have a question im pretty basic at coding etc...but i have a batch file i need to run on startup in windows 2000 and xp....but i need it to start on startup even if no one logs on. What it is is a batch file that collects performance data on some equipment that i have and the if the service laptop gets rebooted it stops and I find that not everyone restarts it.

The batch file is already written i just need something that goes out on start up and starts the batch file that is sitting on the C:\ and preferably even before someone logs in.

could anyone help with that?

Thanks

argie
March 13th, 2009, 08:24 PM
You may be able to set it up as a service (using msconfig). Alternatively, what you want is autoexnt.bat: http://support.microsoft.com/kb/243486

jimi_hendrix
March 13th, 2009, 09:00 PM
uhh

its autoexe.bat

and this is better suited for the programming talk forum

luke0927
March 15th, 2009, 04:17 PM
ok since it was windows i figured it would be better here...i'll do some reading and give it a shot and post up in the programming forum if i don't suceed

thanks