How do I call a batch file at startup

  • Thread starter Thread starter Big A
  • Start date Start date
B

Big A

Can I use autoexec.bat to call a batch file at startup
using Windows XP? It doesn't work. Is there any other
way to call a batch file rather than putting it in the
startup folder? Why doesn't XP use the autoexec.bat file?
Thanks. Big A.
 
You can schedule it to run via Scheduled Tasks. Start --> All Programs -->
Accessories --> System Tools --> Scheduled Tasks.

Autoexec.bat was used for pre-processing commands before the OS on top of
DOS started. Seeing that NT isn't a DOS based OS as Windows 9x is, there is
no use for autoexec.bat.

--
Posted 'as is'. If there are any spelling and/or grammar mistakes, they
were a direct result of my fingers and brain not being synchronized or my
lack of caffeine.

Mike Brearley
 
Big said:
Can I use autoexec.bat to call a batch file at startup
using Windows XP? It doesn't work. Is there any other
way to call a batch file rather than putting it in the
startup folder? Why doesn't XP use the autoexec.bat file?
Thanks. Big A.

I believe XP uses the file autoexec.nt if needed. Look in the
...\Windows\System32 folder for the file, it already has some instructions
inside for using it. That may not be the best way to run a batch file on
startup, though.
Google returned this link:
<http://www.experts-exchange.com/Operating_Systems/WinXP/Q_20418323.html#757
6268> that may get you started.
Dennis
 
Big said:
Can I use autoexec.bat to call a batch file at startup
using Windows XP? It doesn't work. Is there any other
way to call a batch file rather than putting it in the
startup folder? Why doesn't XP use the autoexec.bat file?
Thanks. Big A.

What's wrong with putting the batch file in your startup folder?
 
| Big A wrote:
| > Can I use autoexec.bat to call a batch file at startup
| > using Windows XP? It doesn't work. Is there any other
| > way to call a batch file rather than putting it in the
| > startup folder? Why doesn't XP use the autoexec.bat file?
| > Thanks. Big A.
|
| What's wrong with putting the batch file in your startup folder?

Absolutely nothing! That's the best way to do it.

Larc



§§§ - Please raise temperature of mail to reply by e-mail - §§§
 
Back
Top