Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
I have an old program that in order for it to work properly needs an entry in the autoexec.bat file. In previous versions of Windows I recall this being in the root of the installation's partition. Well where can I find this file in XP, so that I may enter the required line?

Windows XP (which is NT) does not have or use autoexec.bat which was part of DOS. You're old program is most likely not going to work in NT.

I am afraid you will have to create one. Windows XP, being biult on the technology of Windows 2000, which was wrote on the NT platform, are not just GUI's. NT based platforms are the operating system it's self. predicessors to XP, such as ME, 98, and 95 were all reliant upon the DOS OS. Windows NT based platforms do not have DOS for an operating system. On the NT platform, AUTOEXEC.BAT files are not supported.

that's strange, i HAVE autoexec.bat & config.sys in my standard xp pro installation
if u don't have them, just create them with notepad

Tim... you could try an entry in the 'System Properties' 'Environment Variables'. To get there click on 'System Restore\System Restore Settings'.

To fred.
Yes, XP does create autoexec.bat and config.sys but they are both zero length file, i.e. there is nothing in them.
XP does however have a file in the Windows\System32 folder called autoexec.nt which supposedly performs the same function.
Here's what it says about itself.
@echo off
REM AUTOEXEC.BAT is not used to initialize the MS-DOS environment.
REM AUTOEXEC.NT is used to initialize the MS-DOS environment unless a
REM different startup file is specified in an application's PIF.REM Install CD ROM extensions
lh %SystemRoot%\system32\mscdexnt.exeREM Install network redirector (load before dosx.exe)
lh %SystemRoot%\system32\redirREM Install DPMI support
lh %SystemRoot%\system32\dosxREM The following line enables Sound Blaster 2.0 support on NTVDM.
REM The command for setting the BLASTER environment is as follows:
REM SET BLASTER=A220 I5 D1 P330
REM where:
REM A specifies the sound blaster's base I/O port
REM I specifies the interrupt request line
REM D specifies the 8-bit DMA channel
REM P specifies the MPU-401 base I/O port
REM T specifies the type of sound blaster card
REM 1 - Sound Blaster 1.5
REM 2 - Sound Blaster Pro I
REM 3 - Sound Blaster 2.0
REM 4 - Sound Blaster Pro II
REM 6 - SOund Blaster 16/AWE 32/32/64
REM
REM The default value is A220 I5 D1 T3 and P330. If any of the switches is
REM left unspecified, the default value will be used. (NOTE, since all the
REM ports are virtualized, the information provided here does not have to
REM match the real hardware setting.) NTVDM supports Sound Blaster 2.0 only.
REM The T switch must be set to 3, if specified.
SET BLASTER=A220 I5 D1 P330 T3REM To disable the sound blaster 2.0 support on NTVDM, specify an invalid
REM SB base I/O port address. For example:
REM SET BLASTER=A0

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |