220-802 · Question #230
A technician needs to create a new folder from the command line on the root of the C. drive. Which of the following is the correct command to use?
The correct answer is B. MD. The MD (Make Directory) command is the correct command-line command to create a new folder in Windows.
Question
A technician needs to create a new folder from the command line on the root of the C. drive. Which of the following is the correct command to use?
Options
- ACD
- BMD
- CPUSHD
- DRD
How the community answered
(36 responses)- B89% (32)
- C3% (1)
- D8% (3)
Why each option
The MD (Make Directory) command is the correct command-line command to create a new folder in Windows.
CD (Change Directory) navigates between existing directories - it does not create new ones.
MD (or MKDIR) is the Windows command-line command for creating a new directory. Running 'MD C:\foldername' from a command prompt creates the specified folder at the root of the C: drive.
PUSHD saves the current directory to a stack and navigates to a new path - it is used for directory navigation, not creation.
RD (Remove Directory) deletes an existing directory - it is the opposite of creating one.
Concept tested: Using MD command to create directories from command line
Source: https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/md
Topics
Community Discussion
No community discussion yet for this question.