MICROSOFT DOS DIR COMMANDS





INTRODUCTION
Dir commands stands for directory command and directory means folder.
So in this lesson we will learn how to create directory in Microsoft DOS.

MD: This command is used to create a directory.
Syntax: MD directory_name
Example: MD dream (Press enter key)
Explanation: In the above example 'MD' is command and 'dream' is a directory name.

CD: This command is used to open an existing directory.
Syntax: CD directory_name
Example: CD dream (Press enter key)

RD: This command is used to remove a directory.
Syntax: RD directory_name
Example: RD dream (Press enter key)

Move: This command is used to move a file in a directory.
Syntax: Move File_name Directory_name
Example: Move ABC dream (Press enter key)

Tree: This command is used to show the tree of a directory.
Syntax: Tree Directory_name
Example: Tree ABC (Press enter key)