Create 100 Folders in Seconds Using CMD – A Simple Guide for Beginners!


If you're working on a project and need to create multiple folders quickly, typing each folder name manually can be a headache. Luckily, Windows Command Prompt (CMD) can make it super easy!

Create 100 Folders in Seconds Using CMD

Ever wondered how to create multiple folders like Project1 to Project100 without doing it one by one? Whether you're organizing coding projects or planning your tasks, this quick and easy CMD trick can save you hours! 
Create 100 Folders in Seconds Using CMD – A Simple Guide for Beginners!

In this guide, I’ll show you how to:

  1. Change the default drive (e.g., from C: to D: or E:).

  2. Create 100 folders (named 1 to 100) in one go.


✅ Step 1: Open Command Prompt

  • Press Windows + R

  • Type cmd and hit Enter
    This will open the Command Prompt window.

Create 100 Folders in Seconds Using CMD

✅ Step 2: Select the location

Create 100 Folders in Seconds Using CMD
  • Copy the location where you want to make a folder or files like this 👇
Create 100 Folders in Seconds Using CMD



✅ Step 3: Paste the location in CMD

Create 100 Folders in Seconds Using CMD
cd /d "D:\My Code Project\Javascript Practice\to do list"

Replace this location with your location  👆

  • Paste the location in cmd
  • Press enter

✅ Step 4: Create Folders from 1 to 100 Using a Loop

Create 100 Folders in Seconds Using CMD

Now you are in the folder where you want to create the file

Create 100 Folders in Seconds Using CMD

Paste the following command: 👇👇

for /l %i in (1,1,100) do mkdir Project%i 

🧾 What this means:

  • for /l: Starts a loop

  • %i in (1,1,100): Starts from 1, increases by 1, until 100

  • mkdir Project%i: Creates folder named Project1,  Project2, Project3 … up to Project100

💡 After running the command, you’ll see 100 folders appear — all numbered!

Create 100 Folders in Seconds Using CMD


📌 Bonus Tip: Delete All 100 Folders (if needed)

To delete all folders from 1 to 100, you can use:

Create 100 Folders in Seconds Using CMD

Use this command to delete the folder 👇

for /l %i in (1,1,100) do rmdir /s /q Project%i

😎What it does:

  • for /l %i in (1,1,100): loops from 1 to 100

  • rmdir: removes a directory

  • /s: deletes all contents inside the folder (subfolders/files)

  • /q: quiet mode (no confirmation prompts)

⚠️ Make sure you run this inside the correct parent directory where all these folders exist.

💡 Use Cases

  • Organizing assignments or tests (Folder 1 to 100)

  • Creating chapter folders for books or notes

  • Making structure for photo or video projects


📥 Conclusion

Creating multiple folders using CMD is a simple trick that saves time. Whether you're organizing content or preparing for a big project, this method works smoothly without installing any extra software.


If you found this helpful, share it with your friends or bookmark this post for future use!