sodcalculator

10 Tech How-To

Create Multiple Folders at Once in Windows 10

Guide 10-46413 · Updated · Step by step

Creating multiple folders one by one in Windows 10 is tedious and slow. This guide shows you several ways to create many folders at once — using File Explorer, Command Prompt, and PowerShell — saving you time when setting up project structures, organizing files, or preparing a new workspace. No extra software is needed.

What You’ll Need

  • A Windows 10 PC with an administrator account (for Command Prompt and PowerShell methods, though standard user accounts typically work too).
  • Basic familiarity with typing commands (for the Command Prompt and PowerShell methods).
  • A destination folder where you want the new folders to appear (e.g., your Desktop or Documents).

Step-by-Step

There are three reliable methods. Choose the one that fits your comfort level.

Method 1: Using File Explorer (No Commands)

  1. Open File Explorer (Windows key + E) and navigate to the location where you want the folders (e.g., C:\Users\YourName\Desktop).
  2. Click the Home tab at the top, then click New Folder. A new folder appears with the name highlighted.
  3. Type a name for the folder and press Enter.
  4. Repeat steps 2–3 for each folder. This is the manual method — it works but is slow if you need many folders.

To speed up the manual method slightly, you can use the keyboard shortcut Ctrl+Shift+N to create a new folder without clicking the ribbon. Then type the name and press Enter. Repeat as needed.

Method 2: Using Command Prompt (Fast, for Many Folders)

  1. Open the destination folder in File Explorer. Click the address bar, type cmd, and press Enter. A Command Prompt window opens with the current directory set to that folder.
  2. Type the following command, replacing the folder names with your own, and press Enter:
    mkdir Folder1 Folder2 Folder3

    This creates three folders named Folder1, Folder2, and Folder3 in the current directory.

  3. To create folders with spaces in their names, enclose each name in quotes:
    mkdir "Project Files" "Old Reports" "Backup 2024"
  4. To create a nested structure (folders inside folders), use the full path:
    mkdir "Parent\Child\Grandchild"

    This creates Parent, then Child inside Parent, and Grandchild inside Child, all at once.

Method 3: Using PowerShell (More Flexible)

  1. Open the destination folder in File Explorer. Click the address bar, type powershell, and press Enter. A PowerShell window opens in that folder.
  2. Type the following command to create multiple folders at once:
    New-Item -ItemType Directory -Path "Folder1", "Folder2", "Folder3"

    This creates three folders in the current location.

  3. To create folders from a list stored in a text file, first create a text file (e.g., folders.txt) with one folder name per line. Then run:
    Get-Content folders.txt | ForEach-Object { New-Item -ItemType Directory -Path $_ }
  4. To create a series of numbered folders (e.g., Week1, Week2, … Week10), use a loop:
    1..10 | ForEach-Object { New-Item -ItemType Directory -Path "Week$_" }

Common Mistakes

  • Forgetting quotes around folder names with spaces. In Command Prompt, mkdir My Folder creates two folders: My and Folder. Always use quotes: mkdir "My Folder".
  • Using a forward slash instead of a backslash in paths. Windows uses backslashes (\). For example, mkdir "Folder\Subfolder" works, but mkdir "Folder/Subfolder" may not create the nested structure as expected.
  • Typing the command in the wrong directory. If you don’t open Command Prompt in the target folder, the folders will be created in your user profile or wherever the command prompt starts. Always verify the current directory with cd (or check the path in the title bar).
  • Using reserved names. Windows does not allow folders named CON, PRN, AUX, NUL, COM1-9, LPT1-9. Using these will cause an error.

Tips

  • To create a whole tree of folders at once, use the mkdir command with multiple paths separated by spaces. For example: mkdir "2024\January" "2024\February" "2024\March" creates a 2024 folder with three subfolders.
  • If you need to create many folders with similar names (e.g., Chapter1, Chapter2, …), use a loop in PowerShell as shown above. This is much faster than typing each name.
  • You can also create folders from an Excel list: copy the list of names, paste it into a text file, and use the PowerShell method above.
  • Use the md alias instead of mkdir — they are the same command in Command Prompt.
  • If you accidentally create a folder in the wrong place, use rmdir (or Remove-Item in PowerShell) to delete it. Be careful — this is permanent.

Troubleshooting

  • “The system cannot find the path specified.” This usually means you used a forward slash or a path that doesn’t exist. Double-check your path and use backslashes.
  • “A duplicate file name exists, or the file cannot be found.” You are trying to create a folder that already exists. Either delete the existing folder or choose a different name.
  • Command Prompt opens in the wrong directory. If you typed cmd in the address bar and it opened somewhere else, navigate to the correct folder first, then type cmd again. Or use cd /d "C:\full\path\to\folder" to change directory.
  • PowerShell says “Access is denied.” You might not have write permission to that location. Try running PowerShell as administrator (right-click Start > Windows PowerShell (Admin)) or choose a different folder.
  • Folders are created but with extra characters or wrong names. Check for hidden spaces in your text file or command. Use Notepad to see the exact characters.

Frequently Asked Questions

Can I create multiple folders at once using File Explorer without commands?

Yes, but only manually — you must create each folder individually. There is no built-in way to create many folders at once via the graphical interface. For bulk creation, use Command Prompt or PowerShell.

How do I create folders with dates like 2024-01-01, 2024-01-02, etc.?

In PowerShell, use a loop: Get-Date -Format "yyyy-MM-dd" can generate dates, but for a simple sequence, you can type them manually or use a loop like 1..30 | ForEach-Object { New-Item -ItemType Directory -Path (Get-Date).AddDays($_).ToString("yyyy-MM-dd") }. This creates folders for the next 30 days.

What if I need to create thousands of folders?

Command Prompt and PowerShell can handle thousands, but the process may take a few seconds. It’s best to use a script or a loop. For example, 1..1000 | ForEach-Object { New-Item -ItemType Directory -Path "Folder$_" } creates 1000 folders.

Can I create folders with the same name but different extensions?

No, Windows does not allow two folders with the same name in the same directory. You can create folders like “Report.docx” and “Report.pdf” because they are different names, but not two “Report” folders.

Does this work on Windows 11?

Yes, the same commands work on Windows 11, as the underlying command-line tools are unchanged.

How do I create folders in a specific location without opening Command Prompt there?

Use the full path in the command. For example, mkdir "C:\Users\YourName\Desktop\NewFolder". You can also use cd /d "C:\path" first to change directory.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →