How to create at once several subfolders levels (commando-line)?
Via Command Prompt is to easy to create at once, several sub folders levels in every Windows OS?
1.) ... Easily create directories with the cmd.exe!
2.) ... Create a folder with several subfolder levels!
3.) ... Deletes all directories with all subfolders and files!
4.) ... Do not be confused by the folder item terms!
1.) Easily create directories with the cmd.exe!
Here is a simple example with 2 subdirectories (Folder1, Folder2) for each folder a separate command!
Volume in drive C has no label.
Volume Serial Number is 2AAE-9CF6
Directory of c:\1
05/23/2018 08:46 AM < DIR> .
05/23/2018 08:46 AM < DIR> ..
05/23/2018 08:46 AM < DIR> Folder1
05/23/2018 08:46 AM < DIR> Folder2
04/26/2018 03:47 PM < DIR> Meine_Freigabe
0 File(s) 0 bytes
5 Dir(s) 16,556,134,400 bytes free
2.) Create a folder with several subfolder levels!
Please start the Windows Command Prompt [Windows-Logo+R] and enter the command CMD.exe
In Command Prompt use the windows make directories command
For Example: (... see Image-1)
| (Image-1) Create at once several sub folders levels in all Windows OS!
The help file for windows MKDIR command!
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Documents and Settings\Administrator\Desktop>mkdir /?
Creates a directory.
If Command Extensions are enabled MKDIR changes as follows:
MKDIR creates any intermediate directories in the path, if needed.
For example, assume \a does not exist then:
is the same as:
which is what you would have to type if extensions were disabled.
C:\Documents and Settings\Administrator\Desktop>
3.) Deletes all directories with all subfolders and files!
The command RMDIR or shortened version RD can be used to delete individual directories or directories with subdirectories.
Here in the example, the message appears in the prompt message that the directory is not empty. If you are sure that the full content directory should be deleted, simply use /s as an additional parameter . (see example)
ColorConsole [Version 2.5.1001 ]
Microsoft Windows [Version 10.0.17134.48]
(c) 2018 Microsoft Corporation. All rights reserved.
The directory is not empty.
C:\Users\Nenad\Desktop>rd c:\1 /s
c:\1, Are you sure (Y/N)? y
4.) Do not be confused by the folder item terms!
Different identifiers for one and the same thing here's a quick overview.
Directory = folder
subdirectory = subfolders = Sub-folder = sub-directory
folder structure = directory structure
folder tree = Directory tree
cmd.exe = command prompt
A directory or folder Creating the command prompt is really easy and suitable for Windows 10 , 8.1, 8, 7: Pro, Home, Enterprise, Basic, Premium, Professional, Starter, Ultimate, Windows-Server 2019, 2016, 2012, and older Windows operating systems.
FAQ 6: Updated on: 23 May 2018 20:06
In some cases well-known and displays all network connections and listening ports on Windows Systems If you want to see a list of windows network connections
ALT+F4 or close window button, is not the right solution to close the windows command prompt correctly If you want to close the command prompt via right
The solution to remove read-only or hidden file attribute via cmd in all windows OS If you want to change the file attribute via windows command prompt
The taskkill can be used to end one or more processes in any windows OS. With TASKKILL, processes can be killed by the process id or image name. There are
The solution is easy to make the Windows command prompt cmd window wider, to see more of the output text It can be annoying if you are working with the
If you enter long file or folder paths in the cmd.exe command prompt the solution is very simple to avoid typos errors Info: Content: 1. Solution
You can start programs with a specific process priority via the Windows command prompt cmd.exe, with help from the START command Here are the solutions
»» My question is not there in the FAQ
|Asked questions on this answer:|
- Creating directories and deleting not using PowerShell to create or delete a directory is with cmd.exe supposed to somehow go into creating batch files which can then automatically create subfolders, but how?
- Create cmd directory?
- Create directory in cmd?
- Dos create directory?
- Create cmd odrner?
- Window mkdir verezichnis available?
- Create folder with cmd?
- Cmd mkdir?
- Cmd command new folder?
- Mkdir command extension enable prompt?
- Create Cwindows console folder?
- Cmd create directory?
- Create cmd ornder?
- Cmd command to create folder?
- Create folder create prompt?
- Windows mkdir create intermediate directory?
- In Windows Console on Windows xp create directories with subdirectories?
- In Windows 7, create directories with subdirectories at once?
- Create multiple subdirectories with a command in Windows 8.1 or Server 2012?
- Wondering how to create folders via script as an administrator and standard user under Windows 10 and 8.1?
- Using batch file to automatically create directory with cmd.exe?
- Creating a folder tree with command line CMD under Windows?
- Can one create and delete folders with the CMD?
- I want to create with the help of a batch file, so only a folder automatically subfolder, is so what?
Keywords: windows, command, prompt, create, at once, several, subfolders, levels, server, 2016, 2012, 10, 8.1, 7.0, Questions, Answers, Software