What happened to AUTOEXEC.BAT

P

Patrick Adams

Does anyone know what happened to the AUTOEXEC.BAT files
in Windows XP?

How do you run a start script?

Is there a way to replicate this functionality?
Is there a way to turn on the AUTOEXEC.BAT (.NT)
running at start-up?

What does XP use as a replacement for this functionality?

Thanks Pat
 
W

Wesley VogelX

Patrick;
C:\Autoexec.bat if you upgraded. Mine has nothing in it. But there is:
C:\WINDOWS\system32\AUTOEXEC.NT Mine is filled with REM's. ;o)
Start/Run/cmd/ENTER
Go to Help and type: script
 
B

Bruce Chambers

Greetings --

WinXP doesn't use AUTOEXEC.BAT. The empty file is present simply
to provide some backwards compatibility with legacy applications.

To set environmental variables, Right-Click My Computer >
Properties > Advanced > Environment Variables > System Variables/New
(or Edit, as applicable). You can also add the appropriate line(s) to
C:\Windows\System32\Autoexec.nt.


Bruce Chambers

--
Help us help you:



You can have peace. Or you can have freedom. Don't ever count on
having both at once. -- RAH
 
R

Ron Martell

Patrick Adams said:
Does anyone know what happened to the AUTOEXEC.BAT files
in Windows XP?

How do you run a start script?

Is there a way to replicate this functionality?
Is there a way to turn on the AUTOEXEC.BAT (.NT)
running at start-up?

What does XP use as a replacement for this functionality?

Thanks Pat

It doesn't. You can launch programs at startup by putting a shortcut
to them into the Startup group on the Start Menu.

If you need to load 16 bit drivers or utilities for use by MS-DOS
applications you can put the commands for these into the autoexec.nt
and config.nt files in the \windows\system32 folder. These files are
not processed when the computer starts up but rather when you launch a
DOS application or open a DOS command window.

Hope this explains the situation.

Good luck


Ron Martell Duncan B.C. Canada
--
Microsoft MVP
On-Line Help Computer Service
http://onlinehelp.bc.ca

"The reason computer chips are so small is computers don't eat much."
 

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