COMPTIA A+ Practice Exam 2025 – 400 Free Practice Questions to Pass the Exam

Question: 1 / 525

What is the DOS command for a bare listing of filenames only?

Dir /b

The DOS (Disk Operating System) command for a bare listing of filenames only is "Dir /b". This option displays a list of names without any additional information, such as the size or timestamps. Option B, "Dir /s", will display the names of all files and subfolders in the current directory, including any additional information. Option C, "Dir /og-d", is an invalid command as the correct syntax for sorting is "/on" followed by the sorting character. Option D, "Dir /x", displays the names of files and folders in a shortened format, which is used to list long filenames (more than 8 characters) in a format that is compatible with older programs. Therefore, both option B and D will not provide a bare listing of filenames only and are incorrect.

Get further explanation with Examzify DeepDiveBeta

Dir /s

Dir /og-d

Dir /x

Next Question

Report this question

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy