Equivalent To Autoexec.bat File?

  • Thread starter Thread starter Barbara
  • Start date Start date
B

Barbara

Hi,

In Windows XP, what is the equivalent of an autoexecute.bat file? Or is
there one?

For instance, I need to add a path to my PATH environment variable. Where
would I do that?

Also, is there any such thing as a config.sys type of file or files?

Thanks,

Babs
 
To change the PATH environmental variable...

Right Click on "My Computer" and choose "Advanced"
the "Environmental variables"

Under "System variables" find 'path' the edit it to append the new string.

There is no equiv. to AUTOEXEC.BAT or CONFIG.SYS for Win32 programs. For DOS programs under
%windir%\system32 there are AUTOEXEC,NT and CONFIG.NT for DOS programs you run under
Windows.

Processes that need to be executed under WinNT based OS's are executed via Group Policy
settings, NT Services or via the Registry Run locations


--
Dave




| Hi,
|
| In Windows XP, what is the equivalent of an autoexecute.bat file? Or is
| there one?
|
| For instance, I need to add a path to my PATH environment variable. Where
| would I do that?
|
| Also, is there any such thing as a config.sys type of file or files?
|
| Thanks,
|
| Babs
|
|
 
Most of the stuff that you would have done in autoexec.bat or config.sys is
handled natively by the operating system under XP. The PATH statement, for
instance, can be found by right-clicking My Computer on your desktop,
choosing Properties, clicking the Advanced tab, and clicking the Environment
Variables button. In the bottom box (System Variables) scroll down to the
Path statement, highlight it, and click Edit -- just stick the patch you
want to add in there.

As for config.sys, device drivers are all loaded by the operating system
after installing a device either through Add/Remove Hardware control panel
or through Device Manager.

:) LB
 
Barbara said:
Hi,

In Windows XP, what is the equivalent of an autoexecute.bat file? Or is
there one?

For instance, I need to add a path to my PATH environment variable. Where
would I do that?

Also, is there any such thing as a config.sys type of file or files?

Thanks,

Babs


WinXP doesn't use AUTOEXEC.BAT or CONFIG.SYS. The empty files are
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 and/or C:\Windows\System32 Config.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
 
Barbara said:
In Windows XP, what is the equivalent of an autoexecute.bat file? Or is
there one?

Windows\system32\autoexec.nt

But it only affects DOS programs run in emulation
For instance, I need to add a path to my PATH environment variable. Where
would I do that?

At Control Panel - System - Advanced, click Environmental Variables and
highlight Path, Edit.

Note that in providing a path for a single program, the usual way, done
as part of the install, is to provide a Path value for it in the
registry at
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion
\App Paths\whatever.exe
 
Back
Top