🧰 KPT-0001 | Create Folders Automatically with a Simple Batch Script
🔢 Post ID: KPT-0001
Need to create a structured set of folders in Windows without any special software? Here's a lightweight
.bat
script that reads a text file and builds your folder tree instantly.
🎯 What This Script Does
- Reads folder names from a
folders.txt
file - Creates folders and subfolders wherever you run the script
- Requires no installation — works on all modern Windows PCs
🖱️ Just double-click the
.bat
file
🎉 Boom! Your folders appear like magic, already named just the way you want
🗃️ It's automation, the old-school way — fast, clean, and offline
📁 Example Input File (folders.txt
)
I have planned my folder structure as below — a simple model of my native state India > Assam > Districts. Basically I want to create a folder "India" under which my State "Assam" and finally all my district-wise folders under the state "Assam":
India └── Assam ├── Baksa ├── Barpeta ├── Biswanath ├── Bongaigaon ├── Cachar ├── Charaideo ├── Chirang ├── Darrang ├── Dhemaji ├── Dhubri ├── Dibrugarh ├── Goalpara ├── Golaghat ├── Hailakandi ├── Hojai ├── Jorhat ├── Kamrup ├── Kamrup Metropolitan ├── Karbi Anglong ├── Karimganj ├── Kokrajhar ├── Lakhimpur ├── Majuli ├── Morigaon ├── Nagaon ├── Nalbari ├── Sivasagar ├── Sonitpur ├── South Salmara-Mankachar ├── Tinsukia ├── Udalguri └── West Karbi Anglong
🗂️ The Final Output (Example File)
🙌 Wrapping Up
This simple batch script saves time, removes repetition, and gives you full control over folder structures — no software or manual creation of folders and then renaming each and every folder required.
💡 Whether you're organizing projects, journals, or research — this is just the beginning of more powerful Windows tricks I’ll be sharing.
💡 Want to do the same with Excel instead of a text file?
👉 Check out my next blog – KPT-0002 (Link to be added once published)
📥 Get the Files
📁 Download Folder Script (.ZIP)
📚 Explore more tools:
━━━━━━━━━━ 𖤓 THE KRITTIKA PROJECT 𖤓 ━━━━━━━━━━
✍️ Written by Amaljit Bharali | ☄️ Krittika Guides Me | The Rover Builds | 2025