Classic Shell http://www.classicshell.net/forum/ |
|
Issue editing a shutdown item.. http://www.classicshell.net/forum/viewtopic.php?f=12&t=2910 |
Page 1 of 1 |
Author: | delicacy [ Tue Jul 01, 2014 10:36 pm ] |
Post subject: | Issue editing a shutdown item.. |
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 |
Author: | Ivo [ Tue Jul 01, 2014 10:57 pm ] |
Post subject: | Re: Issue editing a shutdown item.. |
Does it work when you run it from the command line? Also check your quotes. They don't look like normal quotes to me |
Author: | delicacy [ Tue Jul 01, 2014 11:08 pm ] |
Post subject: | Re: Issue editing a shutdown item.. |
you're right, it's not even working from the command line, i changed the quotes too unsuccessfully |
Author: | delicacy [ Tue Jul 01, 2014 11:23 pm ] |
Post subject: | Re: Issue editing a shutdown item.. |
"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 |
Page 1 of 1 | All times are UTC - 8 hours [ DST ] |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |