Instructables

Step 1: SHUTDOWN Command

This command is the Funnest command there is, and one of my personal favorites!

I use it mainly when a virus scan is going on, and I want the computer to shutdown afterwards.

But occasionally, when I get the chance, I use it to mess with my friends. ;-D

Though you Do need Administrative properties to run it.

The command goes like this:

SHUTDOWN -S -F -T 900 -C "Insert Message Here."

Go ahead, try it out!

shutdown is the beginning of the command.

-S means "Shutdown" if you substitute it with an -r then it would "Restart"

-F means "Force Programs to Close"

-T means "Timer" as in, how much time, in seconds, before the computer shuts down.

-C means "Message" which is kinda weird, cause message doesn't start with a c. Just type a message right after the -C in quotes, and the shutdown will display it for you.

I love pulling this one on people.
They'll be like "Hey {Neodudeman} can you fix my computer?"
And I'll say "Sure! Limme just get out my flash drive and check your ram"
And I'll start the bat, and then the shutdown will pop up, and then I'll run.

lol, good times had by all!

To stop the shutdown, simply type in:

SHUTDOWN -A

-A means "Abort"

Neat eh?
1-40 of 203Next »

Can anyone mail me all the commands and how it is used? I am gonna creating a tutorial for noob soon.. as soon as i understand all the code. I am a noob but a fast learner

Dude, you can just go to cmd and type 'help'. It'll show you all the commands and what they do. That's how I found out most stuff.

Seban88 Seban883 months ago

you can also find out about those commands' parameters by adding '/?' at the end. For example, to find out about the parameters of the shutdown command, you just type: "shutdown /?".

Seban883 months ago

'C' in 'shutdown -c' means comment btw

rhafiz1 year ago
can anyone give me a tutorial on the all the commands i know the basic ones like echo off,echo,pause thats it :(
lol im a beginner
J.W6 years ago
bloody noobs, none of you know nothing about programming, you just wanna make viruses.
ummmm isnt that why we learn programing in the first place?so we can crash the whole world whenever we want as if its a pass time?
What about the thrill of creating something that has never been done before? Setting the new standard for the world around us? Advancing through the tiers of history to bring forward a new age in technology?

Am I the only one who despises "bathc hackz"?
All fork bombs are the same in my opinion, I don't see why people keep posting them.
Izzyz5 years ago
Type This In One It's A MAJOR FORK BOMB if you use it you will have to shut down the computer by holding the button for four seconds or unplug the computer here it is: :top start start start start start start start goto top
that one is really esy to kill.
you just have to kill one process and it stops.
the cmd windows don't do nothing
but if u make something like this:

set x=%0
:top
start %x%
goto top


it will be a much more evil one and harder to kill because EACH new program will replicate making new programs that make new programs that make new programs that make new programs that make new programs that ma.............

so to stop this one you should kill ALL the bombs in one time which is really hard to do...
Taskkill /IM cmd.exe

Problemo solved.
This is all you need for a killer fork bomb: @echo off :bomb start goto bomb the @echo off disables showing tour commands :D you also only need one "start" cuz it infinitely loops
Not really a fork bomb...
then what is a fork bomb If the above one isn't? A fork bomb is a denial of service attack by creating a process that "forks" another process, therefore recursively creating an "infinite" amount of processes until the computer/device hangs,freezes, or crashes.

this is NetworkNinja's code:
:bomb
start
goto bomb
another fork bomb @echo off :start start /MAX CMD GOTO :start
Pie Ninja Izzyz5 years ago
No you don't, just press the pause/break button, then hold down alt+f4.
i think it focuses to the newly created window automatically, so i think that won't work
don't put a lot of starts. there is no difference between lots of starts and 1 start if it is recursion
uNiq17 years ago
I loved the first guide (basics) and now this one I ENCOURAGE YOU to make more because all these virus makin and fun annoying batch guides assume you know the basics but your tutorials are very easy to understand and send the message across i used to be into hacking and basics of comp and then i kind of got out. but because of your guides im hoping to get back in and your guides are intresting. If you have any websites you know that have guides like yours please reply
messmaker uNiq14 years ago
Any ideas on what tutorials i could make? give me an idea, and ill make it =] or do my best anyway x]
I have a tutorial idea for you.

Make a tutorial based on the 5 most hardest commands to fully understand.

I have the first couple:
FOR
SET
IF

...And then two others.

Have fun!
my friend showed me this;
for /l %%n in (1,1,____) do md %%n (inset a number for the ___)
it will make however many empty folders as you specify in the location that th file is in. my question is how does it work? "what does it mean?!"
*ahem* sorry. reference to double rainbow song..
Well, if you still need an answer...

Firstly, the FOR command does a command for something in a file, string or command. A basic example of how the FOR command works is as follows:
FOR %%variable IN (set) DO command

The L switch replaces the "set" section with a start-step-end section.

Example: 
FOR /L %%I IN (0,1,10) DO @ECHO %%I

The script will output the following:
1
2
3
4
5
6
7
8
9
10


Can you guess why?

 
 
tycrooks695 years ago
lol how do i send a command like this so that it comes up on someone elses computer like how do i make this work on the guy next to me

@echo off
Echo Press any key for authorization code
pause
start http://www.google.com
start http://www.google.com
start http://www.google.com
start http://www.google.com
start http://www.google.com
start http://www.google.com
start http://www.google.com
start http://www.google.com
start http://www.google.com
shutdown -s -f -t 5 -c "LOLLERSKATES!"
how do make antivirus?? can you help me in this matter? i wanted to start creating my own computer virus but then im afraid cuz i dont know how to create an antivirus, can you help me?
Well, if the antivirus is going to be a batch file, then you should specifically code it to counteract your virus, or allow it to cover a large variety and react appropriately.

If you tell me your planned virus design than I might be able to help you.

Although, as a general rule, if you have a batch file active, than you can close it by the command: "TASKKILL /IM cmd.exe"


wrong...start http://piv.pivpiv.dk
No this is better:

@echo off
:start
start http://piv.pivpiv.dk
goto start

loops until the computer crashes
Nice idea.
Hahaha...
Goin' to prank someone
What is that because I`m not clicking that because I`m fearful that it`ll do something bad.
will421 will4213 years ago
oh. lol nice idea actually. i clicked. my curiousity got the better of me.
S.S.S2 years ago
Try this:
msgbox "your txt."
msgbox "your txt."
msgbox "your txt."
msgbox "your txt."
do
msgbox "your txt"
loop


and save as .vbs

the way to close it:open task manager (ctrl+alt+delete),click processes,find wscript.exe ,click end process !!
I know vbscript and a more advanced way of doing that is
msgbox ("title,0,"text")
The zero gets rid of any pictures and makes it one button
Nice work, you explained it easily and thoroughly, I commend you on your work.
pyounggreen3 years ago
@ECHO OFF
ECHO DO NOT PRESS X AS IT WILL CRASH YOUR COMPUTER!
ECHO Diagnostic Check: Engaged
ECHO Ram.. OK
ECHO Hard Drive.. OK
ECHO Internet.. OK
ECHO Continuing with Diagnostic Check..
PAUSE
msg * Error, ciritical system files missing!Go to

http://www.microsoft.com/windowsxp/evaluation/features/fileprotection.mspx
start http://google.com
msg * Please buy software for $29.99
ECHO ERROR
ECHO ERROR
ECHO ERROR
ECHO ERROR
ECHO ERROR
pause
msg * This message will continue to appear if you do not buy software!
ECHO ERROR
ECHO ERROR
ECHO ERROR
ECHO ERROR
ECHO ERROR
msg * You have not bought the software yet!
pause
START C:\Users\name\FILELOCATION\Computer_ANYALIZER
LOL never syops! but it can be made alot longer...im gonna trick my mom XD!
AbedPSP3 years ago
hey guys, I need some help please...

I need to write a command that starts a .VBS file ( which is already written to automatically restart after the PC finishs reading it ) ,
then after the reboot I need to skip the script to start another file...

thanks
Geekgod47 years ago
how can prevent my batch file with the del. command from deleteing itself until the end?? IM gonna post this everywhere until I get a darn answer!!
Put the DEL commmand at the end. >_> Your geekcred fell from -10 to -450. You earned the title "Can I have free smileys?"
1-40 of 203Next »