How do you create a directory at the command line?



You are organizing the files on your hard drive, and you’d like to create separate directories to organize your spreadsheets by month and year. What command line function can be used to create a directory?

A) rmdir

B) cd

C) mkdir

D) xcopy


The answer: C) mkdir

The option to MaKe a DIRectory can be used to quickly create folders at the command line.


The incorrect answers:

A) rmdir
The rmdir command will ReMove a DIRectory from the command line.

B) cd
The often-used cd command line option is used to Change Directories.

D) xcopy
Unlike the copy command, xcopy is used to copy both files and directories at the command line.

Want to know more? Watch “Directory Structures and Files.”

The organization of directories files in a Microsoft Windows environment is easy to understand if you know what to look for. In this video, you’ll learn about navigating the directory structure, creating folders and files, and understanding file attributes and permissions through our on-screen demonstrations.