On a Windows operating system, right-clicking anywhere on the desktop or any other directory will let you create a new folder with New > Folder. This will be fixed if you use this command instead:Ĭ:\>mkdir directory1\directory2 New Folder In Windows, the directory paths are separated by “\” (a backslash) and in Linux, they are separated by “/” (a forward slash). In case you get an error saying the command syntax is incorrect, you need to ensure you are using the right format. In Windows 10, just start typing “show hidden files and folders” in the start menu and it will be the first search result. In case you get this error but can’t find the folder with that name, enable “show hidden folders” to check if it was hidden. It will look like this:Ī subdirectory or file example already exists” You will get the following “Access is denied” message if you attempt to make a folder without permission:Īlso, you will get an error in case you are trying to create a folder with an already existing folder name.
Md d:\test Issues Which You May Encounterįirst of all, you need to have permission to make these folders. You can change the drive letter to any other drive you prefer. Here, the command made a “test” folder on the D: drive. You can even make a folder in a different drive using the command line, without even moving to that drive.