PDA

View Full Version : Command Interpreter (W98)



gdowney
02-18-2003, 12:17 PM
Hello. I ran across the following message which keeps Windows from booting up properly.
'The following file is missing or corrupted: COMMAND.COM
Type the Command Interpreter (eg. C:\Windows\Command.com)
C>'

How can I get passed this message and return back to my Windows Desktop.

Thank you very much for your input.
Greg

Andy-S
02-18-2003, 12:36 PM
You can try this:

1. Create a W98 boot disk or download a boot disk from <a target="_blank" href=http://www.bootdisk.com>www.bootdisk.com</a>
2. Boot to the floppy disk.
3. Make a backup copy of the current MSDOS.SYS file by typing the following lines at the command prompt:
c:
cd\windows\command
attrib c:\msdos.sys -r -s -h
ren c:\msdos.sys msdos.xxx

4. Use the SYS command from the Startup Disk to transfer the system files to the hard disk by typing the following lines at the command prompt:
a:
sys c:

5. Replace the new MSDOS.SYS file with the backup copy by typing the following lines at the command prompt:
c:
cd\windows\command
attrib c:\msdos.sys -r -s -h
del c:\msdos.sys
ren c:\msdos.xxx msdos.sys
attrib c:\msdos.sys +r +s +h

6. Shut down and restart the computer

Cheers
Andy