How to create a Directory in DOS

A directory in DOS (Disk Operating System) is a special type of file that serves as a repository for storing the names of other files and directories on a disk. These names, also known as file paths, provide a convenient and hierarchical way to organize and access files.

In most disk operating systems, you can create a directory using a command in the command prompt or terminal. The following procedures outline how to create a directory in various operating systems:

Windows:

Open the Command Prompt by pressing Win + R, typing cmd, and hitting Enter.

You can use the md dir name or mkdir command, followed by the name of the directory you want to create or add. For example, mkdir surfcloud creates a directory named “surfcloud” in the current directory.

MacOS and Linux:

Open the Terminal application (located in the Applications > Utilities folder on macOS, or under Applications > Accessories on Linux).

The user can use the md command, which is the md space directory name, or the mkdir command followed by the name of the directory you want to create.
For example, mkdir surfclouddetails creates a directory named “surfclouddetails” in the current directory.

In each of these examples, the newly created directory will be placed in the current directory.

If you want to create a directory in a different location, you can specify the full path of the directory, like /home/username/MyNewDirectory on Linux or macOS, or C:\Users\username\MyNewDirectory on Windows.

Related posts:

About Author


Discover more from SURFCLOUD TECHNOLOGY

Subscribe to get the latest posts sent to your email.

Leave a Reply

Your email address will not be published. Required fields are marked *

Discover more from SURFCLOUD TECHNOLOGY

Subscribe now to keep reading and get access to the full archive.

Continue reading