12-22-2017, 08:13 AM
(12-22-2017, 02:15 AM)Owl Wrote: Need to make 1000+ Folders really quick for a project or simply just wanna play a prank on your friend? Well here's how to do it using a .bat file!!
Step 1. Open up notepad
Step 2. Add the following code
Code:
@echo off
CD Your location here
:1
mkdir %random%%random%
:1
goto :1
* You only need to add CD "Location here" if you want the script to make the folders in a different directory to where the .bat file is saved! *
Step 3. Press "Save As" and find a location for your code, now give it a name and add the end of the name add ".bat"
Step 4. Run the application! This creates lots of folders in short time, here's what It did to me after 5-10 seconds
Ouch!!
You're just like the dude who told Unix people the 'rm -r' command!
LOL... It could be a prank... but for the love oif decency, use recursion instead, and give it a way to exit!
I'm pretty sure that bad things happen if you create so many folders that your FAT table runs out of space to use and your computer will no longer be able to do some pretty simple requests until it's undone. .
Fight the Good Fight
(Listen with lyrics here!)
Make it worth the price we pay!
All your life you've been waiting for your chance,
Pray you'll fit into the Plan.
But you're the master of your own destiny,
So give and take the best that you can!
(Listen with lyrics here!)
Make it worth the price we pay!
All your life you've been waiting for your chance,
Pray you'll fit into the Plan.
But you're the master of your own destiny,
So give and take the best that you can!