220-802 · Question #82
When running Windows XP, which of the following would give a list of switches for the CHKDSK command?
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 ?
How the community answered
(24 responses)- B8% (2)
- C88% (21)
- D4% (1)
Why each option
In Windows command-line environments, the /? switch is the standard syntax for displaying help and available switches for any command, including CHKDSK.
The tilde (~) character is not a valid Windows command switch delimiter and produces an error.
The colon (:) is used to designate drive letters (e.g., C:) in Windows commands, not to request help output.
The forward-slash followed by a question mark (/?) is the universally recognized Windows command-line help switch. Running 'chkdsk /?' prints all available parameters and their descriptions to the console. This syntax applies to virtually every built-in Windows command.
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
Source: https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/chkdsk
Topics
Community Discussion
No community discussion yet for this question.