| |||||||||
AUTOEXEC.BAT is a batch file run every time the MS-DOS operating system starts, after the config.sys file is processed.
In terms of syntax, autoexec.bat is just a normal DOS batch file. Typically, an autoexec.bat is configured to sets environment variables such as PATH, PROMPT, and BLASTER, and to loads drivers (for example mouse and network interface card), MSCDEX.EXE (Microsoft CD-ROM extension), and SMARTDRV.EXE (a disk caching program provided by DOS).
Both config.sys and autoexec.bat can still be found included in the system files of the later operating system Microsoft Windows. Usually these files are empty files, with no content.