nerdexam
CompTIA

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.

Hardware and network troubleshooting

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)
  • B
    89% (32)
  • C
    3% (1)
  • D
    8% (3)

Why each option

The MD (Make Directory) command is the correct command-line command to create a new folder in Windows.

ACD

CD (Change Directory) navigates between existing directories - it does not create new ones.

BMDCorrect

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.

CPUSHD

PUSHD saves the current directory to a stack and navigates to a new path - it is used for directory navigation, not creation.

DRD

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

#MD command#command line#directory creation#Windows CLI

Community Discussion

No community discussion yet for this question.

Full 220-802 Practice