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

Prepare for the CompTIA A+ Core 2 Exam with flashcards and multiple choice questions. Gain insights and explanations to ace your certification!

Multiple Choice

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

Explanation:
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.

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