What is a batch file? In short, a batch file is nothing more than a pre-recorded set of keystrokes. This saves time and errors on boot up. The conventional file extension for a batch file is .BAT.
When DOS boots, it looks for a specially named batch file, called AUTOEXEC.BAT, and it executes whatever commands are in this file, if it finds it.
Since a batch file is nothing more than pre-recorded keystrokes, unlike CONFIG.SYS, it can be run at anytime, and does not require a reboot.
A common entry found in the autoexec.bat file is MSCDEX.EXE. This is shorthand for Microsoft CD extensions. This executable file extends the ability of DOS to handle the CDFS (CD FILE SYSTEM) file format.
Several switches are available for MSCDEX.EXE.
The /D: switch is always required. This is because it grabs the device driver that was loaded in the config.sys file. Several optional switches exist as well. One of our favorites is the /L: switch. We like to set it like this: /L:Z. This assigns the CD-ROM the drive letter of z.
Home - Table Of Contents - Contact Us
CertiGuide to A+ (Operating Systems) (http://www.CertiGuide.com/apluso/) on CertiGuide.com
Version 1.0 - Version Date: January 7, 2005
Adapted with permission from a work created by Tcat Houser.
CertiGuide.com Version © Copyright 2005 Charles M. Kozierok. All Rights Reserved.
Not responsible for any loss resulting from the use of this site.