View previous topic :: View next topic |
Author |
Message |
Benji Random spam moderator
Reputation: 3
Joined: 31 Dec 2007 Posts: 60 Location: The Netherlands
|
Posted: Sun Apr 05, 2009 4:06 am Post subject: Need help with Shutdown |
|
|
I have but after 9000 seconds (2 and a half hours) it only logs me off, it doesn't turn off my computer. How to fix?
_________________
|
|
Back to top |
|
 |
iTz SWAT I post too much
Reputation: 1
Joined: 20 Dec 2007 Posts: 2227 Location: Me.Location;
|
Posted: Sun Apr 05, 2009 4:11 am Post subject: |
|
|
Try
Code: | shutdown -s -t 9000 |
-s is shutdown
-l is log off
also you can add -c after the 9000 as a comment....
Code: | shutdown -s -t 9000 -c "This is a shutdown Test Comment" |
_________________
|
|
Back to top |
|
 |
Benji Random spam moderator
Reputation: 3
Joined: 31 Dec 2007 Posts: 60 Location: The Netherlands
|
Posted: Sun Apr 05, 2009 5:51 am Post subject: |
|
|
iTz SWAT wrote: | Try
Code: | shutdown -s -t 9000 |
-s is shutdown
-l is log off
also you can add -c after the 9000 as a comment....
Code: | shutdown -s -t 9000 -c "This is a shutdown Test Comment" |
|
Nope, all it does is repeating that lines really fast over 9000 times. (Joke unrelated to time)
EDIT:
If I enter 1 instead of 9000 the same thing happens.
_________________
|
|
Back to top |
|
 |
SF I'm a spammer
Reputation: 119
Joined: 19 Mar 2007 Posts: 6028
|
Posted: Sun Apr 05, 2009 11:34 am Post subject: |
|
|
Go to cmd and type in "Shutdown" for all the various...things.
SHUTDOWN -s -f -t 01 should work.
-s for shutdown, -f for force close on open application, -t for a time (in seconds) to shutdown.
_________________
|
|
Back to top |
|
 |
Benji Random spam moderator
Reputation: 3
Joined: 31 Dec 2007 Posts: 60 Location: The Netherlands
|
Posted: Sun Apr 05, 2009 12:36 pm Post subject: |
|
|
SF wrote: | Go to cmd and type in "Shutdown" for all the various...things.
SHUTDOWN -s -f -t 01 should work.
-s for shutdown, -f for force close on open application, -t for a time (in seconds) to shutdown. |
Will try tonight, thanks. Does it have to be 01 or can it be 1 too?
|
|
Back to top |
|
 |
SF I'm a spammer
Reputation: 119
Joined: 19 Mar 2007 Posts: 6028
|
Posted: Sun Apr 05, 2009 1:45 pm Post subject: |
|
|
John The Ninja Jannitor wrote: | SF wrote: | Go to cmd and type in "Shutdown" for all the various...things.
SHUTDOWN -s -f -t 01 should work.
-s for shutdown, -f for force close on open application, -t for a time (in seconds) to shutdown. |
Will try tonight, thanks. Does it have to be 01 or can it be 1 too? |
Shouldn't matter. I just C+P'd it from a google result.
_________________
|
|
Back to top |
|
 |
Benji Random spam moderator
Reputation: 3
Joined: 31 Dec 2007 Posts: 60 Location: The Netherlands
|
Posted: Sun Apr 05, 2009 2:10 pm Post subject: |
|
|
I tried it but I just get over 9000 repetitions again :/
|
|
Back to top |
|
 |
SF I'm a spammer
Reputation: 119
Joined: 19 Mar 2007 Posts: 6028
|
Posted: Sun Apr 05, 2009 2:21 pm Post subject: |
|
|
Ban removed since we now know you're attempting to do it by .bat.
shutdown.exe -s -f -t <time> -c "Message" should do the trick.
_________________
|
|
Back to top |
|
 |
Benji Random spam moderator
Reputation: 3
Joined: 31 Dec 2007 Posts: 60 Location: The Netherlands
|
Posted: Mon Apr 06, 2009 3:55 am Post subject: |
|
|
SF wrote: | Ban removed since we now know you're attempting to do it by .bat.
shutdown.exe -s -f -t <time> -c "Message" should do the trick. |
Thanks, worked. I'm at school now
|
|
Back to top |
|
 |
iTz SWAT I post too much
Reputation: 1
Joined: 20 Dec 2007 Posts: 2227 Location: Me.Location;
|
Posted: Mon Apr 06, 2009 4:47 am Post subject: |
|
|
Good Job SF, just wondering what made it work?
The -f or the shutdown.exe?
|
|
Back to top |
|
 |
SF I'm a spammer
Reputation: 119
Joined: 19 Mar 2007 Posts: 6028
|
Posted: Mon Apr 06, 2009 11:59 am Post subject: |
|
|
iTz SWAT wrote: | Good Job SF, just wondering what made it work?
The -f or the shutdown.exe? |
Since it was in a bat file, he needed the .exe
CMD only needs shutdown
Closed.
_________________
|
|
Back to top |
|
 |
|