Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Need help with Shutdown

 
Post new topic   This topic is locked: you cannot edit posts or make replies.    Cheat Engine Forum Index -> Computer Talk
View previous topic :: View next topic  
Author Message
Benji
Random spam moderator
Reputation: 3

Joined: 31 Dec 2007
Posts: 60
Location: The Netherlands

PostPosted: Sun Apr 05, 2009 4:06 am    Post subject: Need help with Shutdown Reply with quote

I have
Code:
shutdown -t 9000
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
View user's profile Send private message
iTz SWAT
I post too much
Reputation: 1

Joined: 20 Dec 2007
Posts: 2227
Location: Me.Location;

PostPosted: Sun Apr 05, 2009 4:11 am    Post subject: Reply with quote

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
View user's profile Send private message
Benji
Random spam moderator
Reputation: 3

Joined: 31 Dec 2007
Posts: 60
Location: The Netherlands

PostPosted: Sun Apr 05, 2009 5:51 am    Post subject: Reply with quote

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
View user's profile Send private message
SF
I'm a spammer
Reputation: 119

Joined: 19 Mar 2007
Posts: 6028

PostPosted: Sun Apr 05, 2009 11:34 am    Post subject: Reply with quote

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
View user's profile Send private message
Benji
Random spam moderator
Reputation: 3

Joined: 31 Dec 2007
Posts: 60
Location: The Netherlands

PostPosted: Sun Apr 05, 2009 12:36 pm    Post subject: Reply with quote

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
View user's profile Send private message
SF
I'm a spammer
Reputation: 119

Joined: 19 Mar 2007
Posts: 6028

PostPosted: Sun Apr 05, 2009 1:45 pm    Post subject: Reply with quote

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
View user's profile Send private message
Benji
Random spam moderator
Reputation: 3

Joined: 31 Dec 2007
Posts: 60
Location: The Netherlands

PostPosted: Sun Apr 05, 2009 2:10 pm    Post subject: Reply with quote

I tried it but I just get over 9000 repetitions again :/
Back to top
View user's profile Send private message
SF
I'm a spammer
Reputation: 119

Joined: 19 Mar 2007
Posts: 6028

PostPosted: Sun Apr 05, 2009 2:21 pm    Post subject: Reply with quote

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
View user's profile Send private message
Benji
Random spam moderator
Reputation: 3

Joined: 31 Dec 2007
Posts: 60
Location: The Netherlands

PostPosted: Mon Apr 06, 2009 3:55 am    Post subject: Reply with quote

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 Smile
Back to top
View user's profile Send private message
iTz SWAT
I post too much
Reputation: 1

Joined: 20 Dec 2007
Posts: 2227
Location: Me.Location;

PostPosted: Mon Apr 06, 2009 4:47 am    Post subject: Reply with quote

Good Job SF, just wondering what made it work?

The -f or the shutdown.exe?
Back to top
View user's profile Send private message
SF
I'm a spammer
Reputation: 119

Joined: 19 Mar 2007
Posts: 6028

PostPosted: Mon Apr 06, 2009 11:59 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   This topic is locked: you cannot edit posts or make replies.    Cheat Engine Forum Index -> Computer Talk All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites