It is currently Thu Jun 07, 2018 11:34 pm

All times are UTC - 8 hours [ DST ]


Forum rules


Before posting a bug report or a feature request, search the forum for an older post on the same topic. If you are reporting a crash, try capturing a crash dump. You can find instructions here: How to capture crash dumps



Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Tue Jul 01, 2014 10:36 pm 
Offline

Joined: Thu May 09, 2013 8:14 am
Posts: 72
I'm using a tool to give me a prompt before restarting or shuting down the pc, so for the Shut Down.. "Restart" item,
i used this command below, but it doesn't work..

"C:\Program Files\Tools\shutdown.exe" -s Reboot -i -f -l 30 -m “Are you sure you want to restart your system?”
or
C:\Program Files\Tools\shutdown.exe -s Reboot -i -f -l 30 -m “Are you sure you want to restart your system?”

The used exe:
http://retired.beyondlogic.org/solution ... utdown.htm


Last edited by delicacy on Tue Jul 01, 2014 11:23 pm, edited 1 time in total.

Top
 Profile  
Reply with quote  
PostPosted: Tue Jul 01, 2014 10:57 pm 
Offline
Site Admin
User avatar

Joined: Wed Jan 02, 2013 11:38 pm
Posts: 5331
Does it work when you run it from the command line?
Also check your quotes. They don't look like normal quotes to me


Top
 Profile  
Reply with quote  
PostPosted: Tue Jul 01, 2014 11:08 pm 
Offline

Joined: Thu May 09, 2013 8:14 am
Posts: 72
you're right, it's not even working from the command line, i changed the quotes too unsuccessfully


Top
 Profile  
Reply with quote  
PostPosted: Tue Jul 01, 2014 11:23 pm 
Offline

Joined: Thu May 09, 2013 8:14 am
Posts: 72
"C:\Program Files\Tools\shutdown.exe" -s reboot -i -f -l 30 -m "Are you sure you want to restart your system?"

All i had to do is remove "-i"

It's working fine now


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: Bing [Bot] and 5 guests


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 post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group, Almsamim WYSIWYG Classic Shell © 2010-2016, Ivo Beltchev.
All right reserved.