Difficulty: Easy
Correct Answer: DIR
Explanation:
Introduction / Context:
Basic file management in MS-DOS begins with enumerating files in the current directory. The standard, built-in command to display filenames, sizes, dates, and attributes is short, widely known, and available immediately after boot in most DOS versions.
Given Data / Assumptions:
Concept / Approach:
The DIR command reads directory entries and prints a formatted list. Optional switches (for example, /P for paging, /W for wide format, /O for sort order) control display but the base command already provides a listing of files in the current directory.
Step-by-Step Solution:
Verification / Alternative check:
Cross-check with DIR *.EXT to filter by extension; the match confirms the command genuinely lists directory entries.
Why Other Options Are Wrong:
Common Pitfalls:
Confusing DIR with TYPE (which prints file contents) or COPY (which duplicates files).
Final Answer:
DIR
Discussion & Comments