organizer.bat script that does exactly one thing: it walks through the folder it lives in and sorts every file into a subfolder named after its extension. Images with images, PDFs with PDFs, and so on.
How it works
1
Drop it in a messy folder
Put
organizer.bat in the Downloads folder — or wherever chaos has accumulated.2
Double-click
It scans every file, creates a subfolder per extension, and moves files into place.
3
Done
It skips itself, reuses existing subfolders, and waits for you to press Enter before closing.
Why I keep it around
It’s the most-starred thing on my GitHub, which taught me something I keep relearning: the value of a project has almost nothing to do with how hard it was to build. A ten-line script that saves someone five minutes of dragging files around can be more useful than a month-long project nobody ever runs.Source on GitHub
miltonials/windowsorganizer