Troubleshooting > Operating System Recovery Techniques > DOS Recovery

DOS Recovery
DOS has five (5) files critical to its operation and a boot record. These files reside in the C:\ root directory, and include:
•
IO.SYS or IBMBIO.COM is the file first run by the DOS record. It contains the DOS initialization code and key parts of DOS. It is a hidden system file, and often (but not always) has a file creation time that matches the version.
•
MSDOS.SYS or IBMDOS.COM contains the balance of the resident parts of DOS. It is a hidden system file, and often (but not always) has a file creation time that matches the version.
•
COMMAND.COM is a program used to process the DOS command line (it doesn’t stay resident).
•
CONFIG.SYS is the standard configuration file for DOS. For more information, see CONFIG.SYS Issues.
•
AUTOEXEC.BAT run additional TSRs (terminate and stay resident) and commands. For more information, see AUTOEXEC.BAT Issues.
To load a new copy of the two hidden files and the boot record, boot from a diskette that has the identical version of DOS. At the DOS prompt run:
A:\ > sys c:
The SYS program, with DOS 5 and later, will also insert a new copy of COMMAND.COM. For older DOS versions, the COMMAND.COM file must be copied from the diskette manually.
Caution: If you made your DOS boot diskette after NT/2000/XP was installed, the DOS boot disk will have an NT/2000/XP boot record and not the standard DOS boot record. Use a real DOS boot diskette in this case. After all the files are properly restored, reboot through System Commander to save the new files and configuration.
For information about creating a boot diskette, see DOS.
See Also:
Windows Vista Recovery
Windows NT/2000/XP/2003 Recovery
Windows 95/98/Me Recovery

Avanquest USA
Copyright (c)2001–2007 Avanquest Publishing USA, Inc.
All Rights Reserved.