Which command is used to create a new directory in Command Prompt?

Dive into the CompTIA A+ Core 2 Exam. Explore flashcards, multiple choice questions, and explanations tailored to boost your preparation. Excel on your exam with confidence!

The command used to create a new directory in Command Prompt can be either 'md' or 'mkdir'. Both commands essentially perform the same function; they are interchangeable and will create a new directory in the specified location when executed.

When using 'md' or 'mkdir', you simply follow the command with the desired directory name to create that new folder. For example, running 'mkdir NewFolder' or 'md NewFolder' would create a directory named "NewFolder" in the current working directory.

Since both commands are valid and produce the same result, the correct choice includes both 'md' and 'mkdir', recognizing that either can be used for directory creation in the Command Prompt.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy