CompTIA
220-802 · Question #82
220-802 Question #82: Real Exam Question with Answer & Explanation
The correct answer is C: chkdsk /?. In Windows command-line environments, the /? switch is the standard syntax for displaying help and available switches for any command, including CHKDSK.
Question
When running Windows XP, which of the following would give a list of switches for the CHKDSK command?
Options
- Achkdsk ~?
- Bchkdsk :?
- Cchkdsk /?
- Dchkdsk ?
Explanation
In Windows command-line environments, the /? switch is the standard syntax for displaying help and available switches for any command, including CHKDSK.
Common mistakes.
- A. The tilde (~) character is not a valid Windows command switch delimiter and produces an error.
- B. The colon (:) is used to designate drive letters (e.g., C:) in Windows commands, not to request help output.
- D. The backslash () is a path separator in Windows and is not a valid switch prefix for command-line utilities.
Concept tested. Windows command-line help syntax
Reference. https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/chkdsk
Community Discussion
No community discussion yet for this question.