First post, by G-Man
HI, I have an old machine running Win ME. I am trying to install a CD Rom, I have an auto install disk that writes to the Autoexec.bat and Config.sys all the files needed.
Autoexec.bat
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
C:\Windows\Command\MSCDEX.EXE /D:D:CD01
Config.sys
DEVICE=C:\WINDOWS\HIMEM.SYS /TESTMEM:OFF
DEVICEHIGH=C:\WINDOWS\COMMAND\OAKCDROM.SYS /D:CD01
LASTDRIVE=Z
When I reboot the PC Autoexec and Config have gone back to the original files:
Autoexec
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
Config
"Empty"
It doesn't matter what I write in the two files it always rewrite back to the original. I have tried read only and hidden but makes no difference.
I read somewhere that If autoexec.bat and config.sys are modified, and the computer is restarted or shutdown, Windows automatically removes any value that is not specified in the registry. Any thoughts. G-man