Difficulty: Easy
Correct Answer: BAT
Explanation:
Introduction / Context:
Batch files provide automation in DOS by executing a list of commands in order. They are frequently used to set environment variables, launch programs, or perform maintenance tasks during boot or login. Recognizing their file extension is fundamental for DOS administration and scripting.
Given Data / Assumptions:
Concept / Approach:
By convention, DOS batch scripts use the .BAT
extension (e.g., AUTOEXEC.BAT). When executed, the command processor (COMMAND.COM) reads and runs commands from the file sequentially. This is distinct from compiled programs (.EXE, .COM) and system drivers (.SYS).
Step-by-Step Solution:
Verification / Alternative check:
Any DOS reference or system files on boot disks (e.g., AUTOEXEC.BAT) confirm this association.
Why Other Options Are Wrong:
Common Pitfalls:
Final Answer:
BAT.
Discussion & Comments