So you can create new folders using the Windows CMD console

Folder

Without a doubt, when using any computer with Windows operating system, the most common is to do it using its graphical interfaceIt is an operating system designed to be used in this way, as it is the most practical and simple for the vast majority of users of this type of computer.

However, this is not the only way to do it. When managing a Windows computer, you can also use its command console, also sometimes known as a terminal, command prompt, Command Prompt or just CMD. This is not usually the most common, but it is true that sometimes it can be very useful. Therefore, here we are going to show you how you can create a directory or a folder using the Windows CMD console step by step.

How to create directories or folders using the CMD console in Windows

As we mentioned, in this case the use of the CMD console is not very common in Windows. However, on certain occasions it may be the only or preferred option. In this sense, the commands are not usually the same as for example those of Linux, since the Windows console is a legacy version of MS-DOS.

In this way, if you want to create a folder or directory using the CMD console in Windows, you will first have to go to the directory or drive where you want to create the new folder using the command cd ruta-directorio. Once you are in the directory before the folder to be created, something that you can easily see since the command bar shows it just before the cursor, you must execute the following command, entering the name you want:

MKDIR <carpeta>

CMD: create folder or directory from command prompt

Windows PowerShell
Related article:
How to delete folders or directories from the CMD console in Windows

Once the command in question has been executed, you can easily check if the directory or folder has been created or not trying to access. To do this, you just have to enter the command cd <carpeta> and if all goes well the CMD console should be placed in it. And, if you ever regret it, you can delete the folder created using the command RD.


Leave a Comment

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

*

*

  1. Responsible for the data: Miguel Ángel Gatón
  2. Purpose of the data: Control SPAM, comment management.
  3. Legitimation: Your consent
  4. Communication of the data: The data will not be communicated to third parties except by legal obligation.
  5. Data storage: Database hosted by Occentus Networks (EU)
  6. Rights: At any time you can limit, recover and delete your information.