What is the name of the batch file that is automatically run when MSDOS is booted?
A. Run.bat
B. Config.sys
C. Config.bat
D. Autoexec.bat
Answer: Option D
Solution (By Examveda Team)
The Autoexec.bat file is the name of the batch file that is automatically run when MS-DOS is booted.It stands for "automatic execution" and contains commands that DOS executes each time it starts up.
This file is used to set environment variables, run programs, and customize the DOS environment according to user preferences.
It is located in the root directory of the boot drive (typically C:) and is crucial for configuring the DOS environment.
Run.bat is not a standard batch file automatically run during MS-DOS boot-up; it would need to be explicitly invoked.
Config.sys is a system configuration file in DOS, but it is not automatically executed like Autoexec.bat.
Config.bat is not a standard DOS file and typically not used as a boot-up batch file.
Therefore, the correct answer is Option D: Autoexec.bat.
Join The Discussion