loading
Hello, this is my second instructable, (first one sucked sooo much!) and it will be on a very fun interactive batch file, accusing whomever opens it of lying, asking many questions, then pretending to delete all critical files on the computer. (doesn't actually happen) this is very amusing stuff. it will be downloadable on the last step of my instructable, thank you very much!!! And please provide constructive criticism!!!

Step 1: The Beggining! (dramatic Music)

Hello again, lets get to business!  ok, first open notepad and type this, or copy and paste it (download easiest):



@echo off

:lolipop
echo.
echo Hello there, how are you?
set /p feeling=
if %feeling%== bad goto sad
if %feeling%== good goto lol
goto lolipop

:lol
echo.
echo good,now what is you're name?
set /p name=
echo That's a great name %name%!!! I love it!!
echo, anyways, time to get serious %name%, what is your favorite team?
set /p team=

echo what is your fave internet browser?
set /p browser=
goto fun

:fun
echo.
echo you lied to me %name%, you don't love %team% or %browser%!!! now you will pay!!!
goto shutdown

:shutdown
echo.
echo I will now proceed to delete all your computers critical files.
echo ready?
set /p answer=
if %answer%==yes goto delete
if %answer%==no goto sad2

:sad
echo.
echo Sorry to hear that buddy. :'(
goto lol

:delete
color 0D
echo.
echo ok,chow!!!
echo {0A}%random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%
goto random

:random
color 0A
echo.
echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%
goto werdy 

:sad2
echo.
echo too bad, you lied to me!!! TTYL!!!
echo i will talk to you soon right?
set /p what=
if %what%==yes goto delete
if %what%==no goto delete
goto delete

:werdy
color 2A
echo.
echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%  %random%
goto random




ok,once you've got that, go to the next step, where i will explain some of this.

Step 2: The Descriptions!

okay, so all @echo off does is prevent the file from showing all the codes, try the file without it and see what happens. then, when echo is typed, it is telling the file to show anything in the rest of that line, this is critical! goto tells the file to go to any other part of the file. set /p sets a variable, very useful insert. i am not a pro at all of this yet but am getting quite close, so if there are some pro's here, feel free to correct me, PLEASE COMMENT ON THESE DESCRIPTIONS!!!!!!!! the rest is more complicated and can be explained on a proper tutorial. please give constructive criticism! thank you for reading! then just rename it,change the representing photo if you would like, then just sit back and watch. next step, closing and download!

Step 3: Closing and Download!!!

thank you very much for reading this instructable, hope you enjoyed this!! and don't worry, there will be more, fake viruses, executive files, you name it!!! Chow!!!
sorry to say but this &quot;Batch&quot; file is really buggy.<br /> <br /> 1. No options to choose from (makes it easier to get user to type predictable things)<br /> <br /> 2. If the user doesn't type any of your options there is no where defined label to goto (prevents unexpected events or crashes)<br /> <br /> 3. II had the program looping with the same values if i didn't enter an answer, (add a set variables to zero argument)<br /> <br /> You have the basics down and the structure is correct, I have written batch files for Fighting fantasy books and i give users only the options that i choose if they enter anything else it returns them to the question till they get it right.<br />
<p>your mom is a man.</p>
&nbsp;yeah, i just didn't want to make it so they would get annoyed and close it, but i guess could do a rundll keyboard disable code for the duration of the file, thanks for the tips and i will fix the file up!!! i will check out your files too!&nbsp;<br /> thanks nzsammy!!!&nbsp;
&nbsp;rundll mouse disable i mean
btw, would you like to do a collaboration? on a large batch file?<br />
<p>sure</p>
<p>Cool down bro! I've got you covered.</p><p>Type this new code instead of the old one:</p><p>@echo off</p><p>:lolipop</p><p>echo.</p><p>echo Hello there, how are you?</p><p>set /p feeling=</p><p>if %feeling%== bad goto sad</p><p>if %feeling%== not good goto sad</p><p>if %feeling%== good goto lol</p><p>if %feeling%== fine goto lol</p><p>if %feeling%== ok goto lol</p><p>if %feeling%== awesome goto lol</p><p>if %feeling%== nice goto lol</p><p>if %feeling%== great goto lol</p><p>if %feeling%== fun goto lol</p><p>goto lolipop</p><p>:lol</p><p>echo.</p><p>echo good,now what is you're name?</p><p>set /p name=</p><p>echo That's a great name %name%!!! I love it!!</p><p>echo, anyways, time to get serious %name%, what is your favorite team?</p><p>set /p team=</p><p>echo what is your fave internet browser?</p><p>set /p browser=</p><p>goto fun</p><p>:fun</p><p>echo.</p><p>echo you lied to me %name%, you don't love %team% or %browser%!!! now you will pay!!!</p><p>goto shutdown</p><p>:shutdown</p><p>echo.</p><p>echo I will now proceed to delete all your computers critical files.</p><p>echo ready?</p><p>set /p answer=</p><p>if %answer%==yes goto delete</p><p>if %answer%==no goto sad2</p><p>:sad</p><p>echo.</p><p>echo Sorry to hear that buddy. :'(</p><p>goto lol</p><p>:delete</p><p>color 0D</p><p>echo.</p><p>echo ok,chow!!!</p><p>echo {0A}%random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%</p><p>goto random</p><p>:random</p><p>color 0A</p><p>echo.</p><p>echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%</p><p>goto werdy</p><p>:sad2</p><p>echo.</p><p>echo too bad, you lied to me!!! TTYL!!!</p><p>echo i will talk to you soon right?</p><p>set /p what=</p><p>if %what%==yes goto delete</p><p>if %what%==no goto delete</p><p>goto delete</p><p>:werdy</p><p>color 2A</p><p>echo.</p><p>echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%</p><p>goto random</p>
&nbsp;I agree, it's a good file nut the main thing that holds it back is what if someone types &quot;fine&quot; or &quot;OK&quot;?
<p>Cool down bro! I've got you covered.</p><p>Type this new code instead of the old one:</p><p>@echo off</p><p>:lolipop</p><p>echo.</p><p>echo Hello there, how are you?</p><p>set /p feeling=</p><p>if %feeling%== bad goto sad</p><p>if %feeling%== not good goto sad</p><p>if %feeling%== good goto lol</p><p>if %feeling%== fine goto lol</p><p>if %feeling%== ok goto lol</p><p>if %feeling%== awesome goto lol</p><p>if %feeling%== nice goto lol</p><p>if %feeling%== great goto lol</p><p>if %feeling%== fun goto lol</p><p>goto lolipop</p><p>:lol</p><p>echo.</p><p>echo good,now what is you're name?</p><p>set /p name=</p><p>echo That's a great name %name%!!! I love it!!</p><p>echo, anyways, time to get serious %name%, what is your favorite team?</p><p>set /p team=</p><p>echo what is your fave internet browser?</p><p>set /p browser=</p><p>goto fun</p><p>:fun</p><p>echo.</p><p>echo you lied to me %name%, you don't love %team% or %browser%!!! now you will pay!!!</p><p>goto shutdown</p><p>:shutdown</p><p>echo.</p><p>echo I will now proceed to delete all your computers critical files.</p><p>echo ready?</p><p>set /p answer=</p><p>if %answer%==yes goto delete</p><p>if %answer%==no goto sad2</p><p>:sad</p><p>echo.</p><p>echo Sorry to hear that buddy. :'(</p><p>goto lol</p><p>:delete</p><p>color 0D</p><p>echo.</p><p>echo ok,chow!!!</p><p>echo {0A}%random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%</p><p>goto random</p><p>:random</p><p>color 0A</p><p>echo.</p><p>echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%</p><p>goto werdy</p><p>:sad2</p><p>echo.</p><p>echo too bad, you lied to me!!! TTYL!!!</p><p>echo i will talk to you soon right?</p><p>set /p what=</p><p>if %what%==yes goto delete</p><p>if %what%==no goto delete</p><p>goto delete</p><p>:werdy</p><p>color 2A</p><p>echo.</p><p>echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%</p><p>goto random</p>
<p>Cool down bro! I've got you covered.</p><p>Type this new code instead of the old one:</p><p>@echo off</p><p>:lolipop</p><p>echo.</p><p>echo Hello there, how are you?</p><p>set /p feeling=</p><p>if %feeling%== bad goto sad</p><p>if %feeling%== not good goto sad</p><p>if %feeling%== good goto lol</p><p>if %feeling%== fine goto lol</p><p>if %feeling%== ok goto lol</p><p>if %feeling%== awesome goto lol</p><p>if %feeling%== nice goto lol</p><p>if %feeling%== great goto lol</p><p>if %feeling%== fun goto lol</p><p>goto lolipop</p><p>:lol</p><p>echo.</p><p>echo good,now what is you're name?</p><p>set /p name=</p><p>echo That's a great name %name%!!! I love it!!</p><p>echo, anyways, time to get serious %name%, what is your favorite team?</p><p>set /p team=</p><p>echo what is your fave internet browser?</p><p>set /p browser=</p><p>goto fun</p><p>:fun</p><p>echo.</p><p>echo you lied to me %name%, you don't love %team% or %browser%!!! now you will pay!!!</p><p>goto shutdown</p><p>:shutdown</p><p>echo.</p><p>echo I will now proceed to delete all your computers critical files.</p><p>echo ready?</p><p>set /p answer=</p><p>if %answer%==yes goto delete</p><p>if %answer%==no goto sad2</p><p>:sad</p><p>echo.</p><p>echo Sorry to hear that buddy. :'(</p><p>goto lol</p><p>:delete</p><p>color 0D</p><p>echo.</p><p>echo ok,chow!!!</p><p>echo {0A}%random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%</p><p>goto random</p><p>:random</p><p>color 0A</p><p>echo.</p><p>echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%</p><p>goto werdy</p><p>:sad2</p><p>echo.</p><p>echo too bad, you lied to me!!! TTYL!!!</p><p>echo i will talk to you soon right?</p><p>set /p what=</p><p>if %what%==yes goto delete</p><p>if %what%==no goto delete</p><p>goto delete</p><p>:werdy</p><p>color 2A</p><p>echo.</p><p>echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%</p><p>goto random</p>
&nbsp;if you don't type what is says, it asks you agaain until you say good or bad, i'm also gonna write in a mouse disable code for the duration of the file so they can't close it.
&nbsp;The can stil get rid of it with task manager. so I suggest killing that process as well. I like your idea though.<br />
In the question that you ask, you give the valid options (Y/N, Red,Blue, etc) for the cases where you want to direct them to one place or another. if they answer with anything else the program directs them back to the question.<br /> <br /> If you ask them for their name it just gets stored as a value <br />
&nbsp;thats right
<p>Cool down bro! I've got you covered.</p><p>Type this new code instead of the old one:</p><p>@echo off</p><p>:lolipop</p><p>echo.</p><p>echo Hello there, how are you?</p><p>set /p feeling=</p><p>if %feeling%== bad goto sad</p><p>if %feeling%== not good goto sad</p><p>if %feeling%== good goto lol</p><p>if %feeling%== fine goto lol</p><p>if %feeling%== ok goto lol</p><p>if %feeling%== awesome goto lol</p><p>if %feeling%== nice goto lol</p><p>if %feeling%== great goto lol</p><p>if %feeling%== fun goto lol</p><p>goto lolipop</p><p>:lol</p><p>echo.</p><p>echo good,now what is you're name?</p><p>set /p name=</p><p>echo That's a great name %name%!!! I love it!! </p><p>echo, anyways, time to get serious %name%, what is your favorite team?</p><p>set /p team=</p><p>echo what is your fave internet browser?</p><p>set /p browser=</p><p>goto fun</p><p>:fun</p><p>echo.</p><p>echo you lied to me %name%, you don't love %team% or %browser%!!! now you will pay!!! </p><p>goto shutdown</p><p>:shutdown</p><p>echo.</p><p>echo I will now proceed to delete all your computers critical files.</p><p>echo ready? </p><p>set /p answer=</p><p>if %answer%==yes goto delete</p><p>if %answer%==no goto sad2</p><p>:sad</p><p>echo.</p><p>echo Sorry to hear that buddy. :'(</p><p>goto lol</p><p>:delete</p><p>color 0D</p><p>echo.</p><p>echo ok,chow!!!</p><p>echo {0A}%random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% </p><p>goto random</p><p>:random</p><p>color 0A</p><p>echo.</p><p>echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% </p><p>goto werdy </p><p>:sad2</p><p>echo.</p><p>echo too bad, you lied to me!!! TTYL!!!</p><p>echo i will talk to you soon right?</p><p>set /p what=</p><p>if %what%==yes goto delete</p><p>if %what%==no goto delete</p><p>goto delete</p><p>:werdy</p><p>color 2A</p><p>echo.</p><p>echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%</p><p>goto random</p>
<p>Quick question, does anyone know the command to run fullscreen and disable the mouse and keyboard until needed?</p>
<p>Some of you have complained about the file being annoying becoz you have to type specific stuff. for you guys there is another code! Copy the stuff below and follow the steps shown above:</p><p>@echo off</p><p>:lolipop</p><p>echo.</p><p>echo Hello there, how are you?</p><p>set /p feeling=</p><p>if %feeling%== bad goto sad</p><p>if %feeling%== not good goto sad</p><p>if %feeling%== good goto lol</p><p>if %feeling%== fine goto lol</p><p>if %feeling%== ok goto lol</p><p>if %feeling%== awesome goto lol</p><p>if %feeling%== nice goto lol</p><p>if %feeling%== great goto lol</p><p>if %feeling%== fun goto lol</p><p>goto lolipop</p><p>:lol</p><p>echo.</p><p>echo good,now what is you're name?</p><p>set /p name=</p><p>echo That's a great name %name%!!! I love it!! </p><p>echo, anyways, time to get serious %name%, what is your favorite team?</p><p>set /p team=</p><p>echo what is your fave internet browser?</p><p>set /p browser=</p><p>goto fun</p><p>:fun</p><p>echo.</p><p>echo you lied to me %name%, you don't love %team% or %browser%!!! now you will pay!!! </p><p>goto shutdown</p><p>:shutdown</p><p>echo.</p><p>echo I will now proceed to delete all your computers critical files.</p><p>echo ready? </p><p>set /p answer=</p><p>if %answer%==yes goto delete</p><p>if %answer%==no goto sad2</p><p>:sad</p><p>echo.</p><p>echo Sorry to hear that buddy. :'(</p><p>goto lol</p><p>:delete</p><p>color 0D</p><p>echo.</p><p>echo ok,chow!!!</p><p>echo {0A}%random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% </p><p>goto random</p><p>:random</p><p>color 0A</p><p>echo.</p><p>echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% </p><p>goto werdy </p><p>:sad2</p><p>echo.</p><p>echo too bad, you lied to me!!! TTYL!!!</p><p>echo i will talk to you soon right?</p><p>set /p what=</p><p>if %what%==yes goto delete</p><p>if %what%==no goto delete</p><p>goto delete</p><p>:werdy</p><p>color 2A</p><p>echo.</p><p>echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%</p><p>goto random</p>
<p>Awesome Buddy!!!!!!!!!! </p>
deal! :D

About This Instructable

107,380views

6favorites

License:

More by nova:AWESOME BATCH FILE!!!!!!! Pull this on friends!! 
Add instructable to: