How do I call a batch file at startup

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.
 
M

Mike Brearley

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
 
D

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.

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
 
D

Darrell

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?
 
L

Larc

| 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 - §§§
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top