How do I stop my autoexec.bat and config.sys generating itself in WinME

Shagga

Diamond Member
Nov 9, 1999
4,421
0
76
I keep getting the following generated in the autoexec.bat even when I delete the file.

If I put Rem in front of each line it deletes them next time I start up. Even if I change it in all the other autoexec.*** files that are generated when hardware is installed such as sound card etc.

SET windir=C:\WINDOWS
SET winbootdir=C:\WINDOWS
SET COMSPEC=C:\WINDOWS\COMMAND.COM
SET PATH=C:\WINDOWS;C:\WINDOWS\COMMAND
SET PROMPT=$p$g
SET TEMP=C:\WINDOWS\TEMP
SET TMP=C:\WINDOWS\TEMP
SET BLASTER = A220 I7 D3 T4
LH C:\WINDOWS\AU30DOS.COM

I've posted this once, but it seems to have been deleted....

Anyone offer any assistance.

Thanx

;)
 

konichiwa

Lifer
Oct 9, 1999
15,077
2
0
You could make a batch file that'll just delete them on startup and add that to your autoexec.
 

mschell

Senior member
Oct 9, 1999
897
0
0
You should use the system configuration utility to make changes to those files.
You can set it so they don't even load at all if you wish.
Type msconfig in the "Run" box under the "Start" menu.
 

emjem

Golden Member
Apr 7, 2000
1,516
0
0
Whoaaa. I didn't have an autoexec.bat and now I do. Something has change.

If you're reming out the command lines and they reappear without the rems there has to be some app running at startup that is rebuilding autoexec.

Maybe a setting in ME somewhere? I hope somebody knows the answer before I spend an hour fiddling with things.
 

Howard

Lifer
Oct 14, 1999
47,982
10
81
You play DOS games?

There's a standard SoundBlaster driver setting in there...
 
Aug 23, 2000
29
0
0
AFAIK WinME imports all the settings from autoexec.bat and config.sys to the registry and then deletes config.sys (it needs autoexec.bat to set the keyboard).
 

Shagga

Diamond Member
Nov 9, 1999
4,421
0
76
Yucky - I know. No I don't play DOS games but I can't get rid of the damn thing.

;)
 

CygnusX1

Member
Dec 6, 2000
110
0
0
I'm assuming you have a Aureal sound card of some sort. The drivers install a dos mode driver that will automatically add those lines to your autoexec.bat and config.sys files. If you have the Diamond MX300 card try the following (copied from their web site):
"Insert the MX300 driver CD, and choose Installation. Then choose to change the configuration and once you are given the choices of components to check off, uncheck DOS Support (Sound Blaster Pro Emulation)"

Hope that helps,

CygnusX1
 

CygnusX1

Member
Dec 6, 2000
110
0
0
BTW: You can also go to Start | Run, type "msconfig", hit enter, and uncheck the boxes next to
autoexec.bat and config.sys to prevent them from loading.

CygnusX1