๐งฐ 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
.batscript that reads a text file and builds your folder tree instantly.
๐ฏ What This Script Does
- Reads folder names from a
folders.txtfile - Creates folders and subfolders wherever you run the script
- Requires no installation โ works on all modern Windows PCs
๐ฑ๏ธ Just double-click the
.batfile
๐ 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