COMPTIA A+ Practice Exam

Access More Questions
Which DOS command lists directories in reverse date order with files grouped separately?
Correct Answer:
Dir /og-d
Explanation:
This is because the "/o" flag in the "Dir" command allows for sorting based on specific criteria, with "g" representing grouping of files and "-" representing the reverse order. "d" specifies the sorting criteria of date. Option B, "/x" is incorrect as it displays directory or file short names, not the sorting of directories in reverse date order. Option C, "/s" lists all directories and subdirectories in the specified location, regardless of the sorting order. Option D, "Set Dircmd=/on /w" changes the default sorting to be in alphabetical order by name, not by date or grouping.

Access more questions from this quiz

Continue to COMPTIA A+ Practice Exam for more practice questions and the full quiz experience.

Access More Questions