Ace the COMPTIA A+ 2026 Exam – Get Ready to Geek Out and Dominate!

Question: 1 / 525

What does the DOS command 'Set Dircmd=/on /w' do?

Shows directories in reverse date order

Includes all subdirectories in listing

Sets environment variable for wide format listing

This command changes the default settings for directory listings in the Windows Command Prompt. More specifically, it sets the environment variable 'Dircmd' to include the options '/on' which shows directories in alphanumeric order, and '/w' which displays the listings in a wide format. Option A is incorrect because it specifies reverse date order which is not included in this command. Option B is incorrect because while it includes all subdirectories, it does not change the format of the listing. Option D is incorrect because it only specifies the display of both long and short filenames, but not the format of the listing. Therefore, option C is the most accurate explanation.

Get further explanation with Examzify DeepDiveBeta

Lists both long and short filenames

Next Question

Report this question

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy