Today I'm going to show you how to right a random batch file prank.
I'll say it right now, this is NOT A VIRUS, it's a piece of harmless fun!
Have fun!
Remove these ads by
Signing UpStep 1Getting Started
| « Previous Step | Download PDFView All Steps | Next Step » |








































:msg
echo.
echo msg * WARNING VIRUS ATTACK!
goto msg
but besides that, thanks for the file!!
:A
msg * VIRUS ATTACK!
ping localhost -n 1 >nul
goto :A
that one is readable and better, even though i just made it up then|:
msg * hello
msg hello2
pause
Run that and see if one of those commands work.,
:A
@echo off
echo WARNING VIRUS ATTACK!
goto A
But that would open it so fast you wouldn't be able to read it!
BUT, i could do
:A
@echo off
echo WARNING VIRUS ATTACK!
pause
goto A
And that would work.
Thanks for the suggestion though!
msg * Windows has detected this as a virus. Please wait.
ping localhost -n 4 >nul
echo Windows is deleting the file...
ping localhost -n 3 >nul
:A
msg * VIRUS ATTACK!
goto :A
I just wrote the code then and i didnt test it, but it will work (:
Right now i'm working on a real(ish) virus instructable.
If you'd give me your email or something i'll send it to you!
im looking forward to working with you both.
if i fixed it up a bit and sent you a code, could u edit it with a proper code?