Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

autoexec.nt file

Status
Not open for further replies.

jblalock

Technical User
Sep 12, 2002
50
US
after deleting a visioneer product with the intent on a clean re-installation, i get a window popup as follows
16bit windows subsystem
c:\winnt\system32\autoexec.nt. the system file is not suitable for running ms-dos and microsoft windows applications, choose close or terminate.
can anyone tell me what happen and how to fix. i am also getting this window now with other microsoft applications like office.
 
While written in an XP Service Pack 2 context, the principle is the same:

. you may be able to find a valid autoexec.nt file in the repair folder:
. or copy a new one from your Win2k CD.

. or open notepad, and copy and paste the below as autoexec.nt and place in %windir%\system32 :
[tt]
****** start copy/paste below this line
@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

******** end copy/paste above this line
[/tt]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top