Classic Shell http://www.classicshell.net/forum/ |
|
Add "Shutdown Timer" menu Item to your Start Menu http://www.classicshell.net/forum/viewtopic.php?f=5&t=281 |
Page 1 of 1 |
Author: | Tenzen [ Thu Feb 21, 2013 11:10 pm ] |
Post subject: | Add "Shutdown Timer" menu Item to your Start Menu |
![]() Here is how to created the above Shutdown Timer Menu for the Classic Shell Start Menu: (I do this mostly because I like to listen to music as I leave the house or fall asleep..) **UPDATED to include GauravK's implementation of Shellexecute.exe, added to create Method 1.. Method 2 is without ShellExecute.exe, and linking to BAT files instead ******************************************************************* ***Method 1:***Step 1, Install Shellexecute.exe :
Step 3, Input Commands:
******************************************************************* ***Method 2*** (Without ShellExecute.exe installed - for linking to bat files - but Method 1 is the Preferred Method since no command window will flash up & disappear) Step 1, Create Bat Files:
******************************************************************* Here is what it should look like, except "CustomItem's" should be your Names without Spaces, i was lazy: ![]() |
Author: | Gaurav [ Fri Feb 22, 2013 1:20 am ] |
Post subject: | Re: How to Add "Shutdown Timer" menu Item to your Start Menu |
A custom Shutdown menu always allows for so much more. ![]() |
Author: | Tenzen [ Fri Feb 22, 2013 3:25 am ] |
Post subject: | Re: How to Add "Shutdown Timer" menu Item to your Start Menu |
ya, its a pretty powerful tool... I love it.. Just make sure to turn off the "Exit" button in the settings.. so we dont accidentally default back to the crappy Windows 7 one.. |
Author: | Tenzen [ Thu Apr 25, 2013 6:20 am ] | ||
Post subject: | Re: Add "Shutdown Timer" menu Item to your Start Menu | ||
Add a New Item, Named "CancelShutdown"
|
Author: | Tenzen [ Thu Apr 25, 2013 5:40 pm ] |
Post subject: | Re: Add "Shutdown Timer" menu Item to your Start Menu |
with Cancel Shutdown in your List, you can change the normal Shutdown Button to: shellexecute /F:shutdown.exe /P:-s -t 10 /R:hidden to give you a 10 second window to change your mind before shutting down... if you want to cancel shutdown because you forgot something, or because you accidentally hit shutdown, just click on your Cancel shutdown button, and Logoff/Shutdown/Restart will be cancelled |
Author: | kkcool120 [ Sat Jun 15, 2013 9:21 pm ] |
Post subject: | Re: Add "Shutdown Timer" menu Item to your Start Menu |
make a bat file @SET /P time=Enter Time in Minutes @set /a time=time*60 @timeout /T %time% /nobreak shutdown -s -t 0 link to it and name it "shutdown in specified minutes" or "shutdown in x minutes" Optionally Make another shortcut that links to the shutdown -a command and name it "cancel shutdown" Remember NOT to press ctrl+c if you want to cancel the command, instead close the window. As an added bonus it's much easier than creating all the custom items. |
Author: | Tenzen [ Sun Jun 16, 2013 5:32 am ] |
Post subject: | Re: Add "Shutdown Timer" menu Item to your Start Menu |
how is a bat file easier than: shellexecute /F:shutdown.exe /P:-s -t 300 /R:hidden i just duplicated my menu from my desktop to my laptop today, and that was about the easiest thing i could have done, i didnt have to change anything, just put shellexecute.exe in my Windows folder what sucked was changing all the locations to bat files for menu items using bats or the vbbs files, or to the timer and the vlc etc.. i had to go through and change the addresss one by one shellexecute is by far superior since every button using it or nircmd or straight cmd, works on any computer with a nircmd or shellexecute in the windwos drive.. didnt have to touch any of those at all.. i wish all program executables could just be thrown onto the Windows Drive to work.. i'd like a program that scans for and finds all the program exe files & folders that classic shell commands & links point to or a way to change the mapping altogether for all buttons using bats, vbs, or other installed programs anyway.. it took me a long time to do all the rest |
Page 1 of 1 | All times are UTC - 8 hours [ DST ] |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |