Link to home
Start Free TrialLog in
Avatar of HackNSlash
HackNSlash

asked on

loads up wrong cdrom driver in msdos mode

Right after you shut down and reboot into msdos mode, the first thing windows does is load mscdex. However, i installed a new cdrom driver and it keeps trying to load the old driver and i get a "bad command or file name", so i have to manually do it myself. Where is the line stored so i can go in and change it?
Avatar of Jason_S
Jason_S

Usualy this is stored in a Autoexec.DOS file.
Avatar of HackNSlash

ASKER

nope. doesn't exist.
along with what Jason said, check your autexec.bat also

you will be looking for a line like:

device=c:\cdrom\cdrom.sys /d:ms.............

you can either remove the line, or edit it to put the correct driver in

bill
What other Autoexec. files do you have?  (and not just in the root of C:)
config.sys and autoexec.bat are fine, they both load the right driver. however, wherever windows is getting its info to load up mscdex when windows is restarted in msdos mode, its not from there.

config.sys:
DEVICE=C:\CDROMDRV\IDECD.SYS /D:MSCD000
autoexec.bat:
REM C:\CDROMDRV\MSCDEX.EXE /D:MSCD000 /V

when windows loads into msdos, it tried to load c:\samsung\mscdex /d:sscd000, which is the old cdrom that no longer exists. and since c:\samsung no longer exists, i get a bad command or file name message.
"when windows loads into msdos, it tried to load c:\samsung\mscdex /d:sscd000, which is the old cdrom that no longer exists. and since c:\samsung no longer exists, i get a bad command or file name message."

If that is the case, change it so it reads

c:\windows\command\mscdex.exe /d:sscd000
Avatar of Adam Leinss
I think you need to be a bit more specfic.  Are you saying that you double click an icon and that it reboots the computer and takes you to DOS or you pick restart in ms-dos mode and then you get the error?  The first one is related to the Windows 98 MS-DOS properties you have set for that application.  You can specify specific config.sys and autoexec.bat files for a game in the MS-DOS properties.  Second click on the icon and you should see them in there.

If you are having the second problem, Windows 9x executes a file called dosstart.bat in the C:\windows directory when you select "Restart in MS-DOS mode" and that could also be where you are having diffculty.
Edit the dosstart.bat.  That's the file windows reads when you restart in ms-dos mode.
yup that did the trick. i had the second problem. please post as a proposed answer so i can close the question and award the points. thanks again.
ASKER CERTIFIED SOLUTION
Avatar of Adam Leinss
Adam Leinss
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial