---------------------------------------------------------- Permission is granted for below article to forward, reprint, distribute, use for ezine, newsletter, website, offer as free bonus or part of a product for sale as long as no changes are made and byline, copyright, and resource box below is included. ---------------------------------------------------------- Get Familiar With MSDOS.SYSBy Stephen Bucaro
Msdos.sys was one of three files (along with io.sys and command.com) that DOS 6 and earlier versions was composed of. It was a binary file that created a disk buffer and file control block for service routines, and performed hardware initialization. Beginning with Windows 95, msdos.sys was combined into io.sys and new msdos.sys became a text editable configuration file.
Msdos.sys is a hidden system file located in root of your boot drive. To view hidden files, in Explorer's "View" menu select "Folder Options". In "Folder Options" dialog box click on "View" tab and under "Hidden Files" check "Show all files". You may want to make a backup copy of msdos.sys named msdos.sys.bak before you make any changes to file.
There are three sections to msdos.sys. The [Paths] section tells Windows where to find necessary startup files. The WinDir= entry contains path to folder containing operating system. The WinBootDir= entry contains path to boot folder. The WinBootDrv= entry contains letter of boot drive. You shouldn't make any changes to this section.
The [Options] section is used to configure startup settings. The last section of file is filler to make sure file is at least 1,024 characters long. Before you can edit msdos.sys file you need to right-click on file name and in "Properties" dialog box that appears, uncheck Read-only attributes check box.
The [Options] section can contain up to 16 entries. The default msdos.sys usually contains only five entries. You can edit these settings in Notepad for purposes of debugging or just to make it start faster. Below is a list of some useful entries.
AutoScan - Controls whether Windows runs ScanDisk after an improper shutdown. If you have a large hard disk, ScanDisk can take a long time. You may want to prevent it from running automatically. Setting AutoScan=0 prevents ScanDisk from running automatically.
BootGUI - Controls whether your system starts in Windows mode or DOS 7 mode. Setting BootGUI=0 causes it to start in DOS mode. (Note: Windows Me does not support booting in DOS mode, so this will have no effect.)
BootKeys - Controls whether Windows will recognize keys pressed during startup. You might want to press F8 or Ctrl during startup to display Startup Menu. However, if you want to keep unauthorized people from bypassing your logon, you should set BootKeys=0 to ignore keys presses during startup.