Microwave
_
+515|7139|Loughborough Uni / Leeds, UK
I remember a few days back someone posted a link to a fileplanet? / generic download site with the executable file on.



I can't find it on these forums or through google.



Can someone help me out please!




I've found the perfect opportunity to use it
jsnipy
...
+3,277|7007|...

is this to automatically shutdown a system from command line?
Microwave
_
+515|7139|Loughborough Uni / Leeds, UK
No, I don't think so.


It's just a simple .exe that when you run it, shuts down your system.



The user doesn't have to type/press anything.
jsnipy
...
+3,277|7007|...

Make a text file and put into it ...

shutdown -s  -f -c "via script"

Then name it shutdown.cmd. Then you can double click this to shut your system down.

For reference ....

shutdown /? from command line wrote:

Code:

 
Usage: shutdown [-i | -l | -s | -r | -a] [-f] [-m \\computername] [-t xx] [-c "comment"] [-d up:xx:yy]
       No args                 Display this message (same as -?)
        -i                      Display GUI interface, must be the first option
        -l                      Log off (cannot be used with -m option)
        -s                      Shutdown the computer
        -r                      Shutdown and restart the computer
        -a                      Abort a system shutdown
        -m \\computername       Remote computer to shutdown/restart/abort
        -t xx                   Set timeout for shutdown to xx seconds
        -c "comment"            Shutdown comment (maximum of 127 characters)
        -f                      Forces running applications to close without warning
        -d [u][p]:xx:yy         The reason code for the shutdown
                                u is the user code
                                p is a planned shutdown code
                                xx is the major reason code (positive integer less than 256)

Last edited by jsnipy (2008-02-12 08:43:14)

Don_JoFo123
Member
+61|7018|Stavanger, Norway
PhaxeNor
:D
+119|6900|Norway | Unkown
edit...

http://www.aumha.org/win5/a/shutcut.php

Last edited by PhaxeNor (2008-02-12 08:43:50)

Peter
Super Awesome Member
+494|6886|dm_maidenhead
Microwave
_
+515|7139|Loughborough Uni / Leeds, UK
Thanks



I just made one myself, forgot about doing it that way.




Kraaama to everyone!
Brasso
member
+1,549|7115

Uhh I saw that in Maximum PC this morning.  When I get home I'll post it up.
"people in ny have a general idea of how to drive. one of the pedals goes forward the other one prevents you from dying"
PhaxeNor
:D
+119|6900|Norway | Unkown
the funny thing about the shutdown command is the timer for it to shutdown

You set up the file with the timer say 15 min. Then you run it and after 15 min the person that sits there then will get a nice shutdown unexpected

[ shutdown -s -t 900 ]
GodFather
Blademaster's bottom bitch
+387|6704|Phoenix, AZ

PhaxeNor wrote:

the funny thing about the shutdown command is the timer for it to shutdown

You set up the file with the timer say 15 min. Then you run it and after 15 min the person that sits there then will get a nice shutdown unexpected

[ shutdown -s -t 900 ]
Lol. im totally doing that in computer class to my friends when they get up!

lmfao


+1 for you sir.
Hakei
Banned
+295|6480
If you put your clock back to 1980 it fools the countdown timer, so the system won't shutdown for another 28 years.

Board footer

Privacy Policy - © 2025 Jeff Minard