Computing.Net > Forums > Windows XP > autoexec.bat? where is it?

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

autoexec.bat? where is it?

Reply to Message Icon

Name: Tim Letendre
Date: February 15, 2002 at 23:48:01 Pacific
Comment:

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?



Sponsored Link
Ads by Google

Response Number 1
Name: Jim
Date: February 15, 2002 at 23:58:54 Pacific
Reply:

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.


0

Response Number 2
Name: k_semler
Date: February 16, 2002 at 00:02:00 Pacific
Reply:

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.


0

Response Number 3
Name: fred
Date: February 16, 2002 at 00:06:28 Pacific
Reply:

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


0

Response Number 4
Name: Jim
Date: February 16, 2002 at 00:12:47 Pacific
Reply:

You must have upgraded over Windows 9x/ME or some older program created them for you.


0

Response Number 5
Name: fred
Date: February 16, 2002 at 00:35:01 Pacific
Reply:

nope, clean install on fresh hdd


0

Related Posts

See More



Response Number 6
Name: EarlyBird
Date: February 16, 2002 at 01:42:28 Pacific
Reply:

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


0

Response Number 7
Name: kinel
Date: February 16, 2002 at 14:54:15 Pacific
Reply:

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

REM Install network redirector (load before dosx.exe)
lh %SystemRoot%\system32\redir

REM Install DPMI support
lh %SystemRoot%\system32\dosx

REM 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 T3

REM 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


0

Response Number 8
Name: fred
Date: February 17, 2002 at 00:36:19 Pacific
Reply:

i didn't say that anything was in autoexec or config, just that they were there


0

Response Number 9
Name: kinel
Date: February 17, 2002 at 06:04:03 Pacific
Reply:

Pretty helpful then heh....lol


0

Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

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


Go to Windows XP Forum Home


Sponsored links

Ads by Google


Results for: autoexec.bat? where is it?

no autoexec.bat, set path how ? www.computing.net/answers/windows-xp/no-autoexecbat-set-path-how-/13326.html

where is it? www.computing.net/answers/windows-xp/where-is-it/9053.html

Where Is It? www.computing.net/answers/windows-xp/where-is-it/52316.html