How to create a folder in command prompt windows 10

Last Updated: Jan 30, 2024 by

Creating a folder in Windows 10 is a simple task that can be done in a variety of ways. One of the most efficient ways to create a folder is by using the command prompt. This method is especially useful for those who prefer using keyboard shortcuts or for those who are more comfortable with using the command line. In this article, we will guide you through the steps of creating a folder in command prompt in Windows 10.

Opening Command Prompt

Before we can create a folder, we need to open the command prompt. There are a few ways to do this, but the easiest way is to press the Windows key + R on your keyboard. This will open the Run dialog box. Type in “cmd” and press Enter. This will open the command prompt.

Navigating to the Desired Location

Once the command prompt is open, you need to navigate to the location where you want to create the folder. You can do this by using the “cd” command, which stands for “change directory”. For example, if you want to create a folder on your desktop, you would type in “cd desktop” and press Enter. This will change the directory to your desktop.

Creating the Folder

Now that you are in the desired location, you can create the folder. To do this, type in “mkdir” followed by the name you want to give to the folder. For example, if you want to create a folder named “New Folder”, you would type in “mkdir New Folder” and press Enter. This will create a new folder with the name “New Folder” in the current directory.

Checking the Folder

To make sure that the folder has been created, you can use the “dir” command. This command will list all the files and folders in the current directory. If the folder has been created successfully, you will see it listed in the output of the “dir” command.

Creating a Folder in a Specific Location

If you want to create a folder in a specific location without navigating to it, you can use the full path of the location in the “mkdir” command. For example, if you want to create a folder named “New Folder” in the “Documents” folder on your C drive, you would type in “mkdir C:\Users\Username\Documents\New Folder” and press Enter. This will create the folder in the specified location.

Creating Multiple Folders

You can also use the command prompt to create multiple folders at once. To do this, you can use the “mkdir” command followed by the names of the folders you want to create, separated by a space. For example, if you want to create three folders named “Folder 1”, “Folder 2”, and “Folder 3”, you would type in “mkdir Folder 1 Folder 2 Folder 3” and press Enter. This will create all three folders in the current directory.

Conclusion

Creating a folder in command prompt in Windows 10 is a quick and easy process. By following these steps, you can efficiently create folders in any location on your computer. This method can also be used to create multiple folders at once, saving you time and effort.

Have you tried creating a folder in command prompt before? Let us know in the comments if you found this method useful.

Gulrukh Ch

About the Author: Gulrukh Ch

Gulrukh Chaudhary, an accomplished digital marketer and technology writer with a passion for exploring the frontiers of innovation. Armed with a Master's degree in Information Technology, Gulrukh seamlessly blends her technical prowess with her creative flair, resulting in captivating insights into the world of emerging technologies. Discover more about her on her LinkedIn profile.

Leave a Reply

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