You must have heard about ‘Zip Bomb‘- a zip file when extracted, takes tons of Gigabytes of space. Here is another one that is called Folder Bomb. People usually refer it as a batch virus, but it is not. You can make a Folder Bomb batch virus using simple CMD commands. This is a simple batch file that can create thousands of folders within seconds. But it is harmless to your computer otherwise.
However, it can hang low configuration computers. So, make sure you don’t run it on any low config PC to avoid hanging issues. Besides that we also suggest you don’t run this file on your desktop other wise you will get your desktop filled with thousands of empty folders.
Create Folder Bomb that Can Create up to 10000 Folders within Few Seconds
We do not need any third-party software for doing this, only thing that we need is Notepad. Using simple Command prompt commands, we will create a Folder Bomb.
Step 1: Open Notepad
First of all, we need to open Notepad. You can open it from Start or alternatively, press Windows Key + R to launch RUN utility, then type
notepad and press Enter.
Step 2: Create Folder Bomb Batch File
Now, you need to type following simple code in Notepad. You can select and copy the code from down below-
@echo off :top md %random% goto top
Press Ctrl + S keyboard shortcut to save this file. Type the name as “Folder-Bomb.bat” and select file type as “All Files (*.*)“. Finally click Save to save this file to selected destination. Make sure to save this file within a folder (we have saved it in Test folder).
WARNING: Do not keep batch file on your desktop. Otherwise it will fill your desktop with thousands of folders if you run it from there.
Step 3: Test Run your Folder Bomb Batch Virus
Now, we are ready with our batch file. Make sure it is inside a folder (in our case it is inside Test folder). It’s time to test run it.
So, to test our batch virus or script, simply double-click it. Command prompt window will appear and it will start creating a lot of folders.
Within few seconds, it will create thousands of folders. You can close the Command prompt window to stop the script.
Play Tricks with your Friends using Simple Batch Script
As you have seen, Folder Bomb batch script created around 10 thousands folders within few seconds. After you are done with the testing, you can delete the Test folder to delete all the folders together. Just make sure you don’t run the batch file on desktop, otherwise it will fill your desktop with lots of folders. You can read more about batch scripts here.
Hope you liked this trick. You can share your thoughts and suggestions about it in the comment section down below. You may also subscribe to our newsletter to get latest tips and tricks directly into your inbox.