π§° 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