hello,
I bought a keyboard that has 10 programmable keys. I already got Task Manager assigned to key #1 very loving relative.
But what is rhe command line (like c:windows\thisfolder\bow.exe) for something simple like "view desktop" as well as other very commonly used shortcuts for Windows 7?
Is there a website listing,?
thank for read this and thanks for you time
EDIT:I am asking for sources that are free or nearly free
2nd EDIT:I am not looking for shortcuts but am looking for command lines to a function for an axtion inbside Windows 7.
/i = Display the graphical user interface (GUI). This must be the first option.
/l = Log off. This cannot be used with /m or /d options.
/s = Shutdown the computer.
/r = Shutdown and restart the computer.
/g = Shutdown and restart the computer. After the system is rebooted, restart any registered applications.
/h = Hibernate the local computer. Can be used with the /f option.
/t xxx = Set the time-out period before shutdown to xxx seconds.
/f = Force running applications to close without forewarning users. The /f parameter is implied when a value greater than 0 is specified for the /t parameter.
This command shuts down the computer, first forcing running applications to close:
Code:
shutdown.exe /s /f
Gadgets:
Gadgets ON:
Code:
C:\Program Files\Windows Sidebar\sidebar.exe
Gadgets OFF:
Code:
taskkill /F /IM sidebar.exe
Windows Media Center:
ehshell.exe
/nostartupanimation = stops the startup sound and Windows Media Center logo
/playallmusic = plays all your music instantly
/screensaver = starts the Media Center screensaver
This command starts WMC and plays all music:
Code:
C:\Windows\ehome\ehshell.exe /playallmusic
Or:
Code:
%windir%\ehome\ehshell.exe /playallmusic
This command shuts down WMC:
Code:
taskkill /F /IM ehshell.exe
Kari
My Computer
Computer type
Laptop
Computer Manufacturer/Model Number
HP ENVY 17-1150eg
OS
Windows 10 Pro x64 EN-GB
CPU
1.6 GHz Intel Core i7-720QM Processor
Memory
6 GB
Graphics Card(s)
ATI Mobility Radeon HD 5850 Graphics
Sound Card
Beats sound system with integrated subwoofer
Monitor(s) Displays
17" laptop display, 22" LED and 32" Full HD TV through HDMI
Screen Resolution
1600*900 (1), 1920*1080 (2&3)
Hard Drives
Internal: 2 x 500 GB SATA Hard Disk Drive 7200 rpm
External: 2TB for backups, 3TB USB3 network drive for media
Cooling
As Envy runs a bit warm, I have it on a Cooler Master pad
Here's some 'hidden' runddl commands (mainly control panel stuff) that I made as my very first post a year ago, obviously not very intresting going of the reply's it received lol! .. feel free to have a look to see if they help your decisions any..
Was there something wrong with the commands Generator and I gave you?
Anyway, I do not know how to show / hide desktop from command line, at least without first creating some scripts. Here are two scripts to you, one to show desktop (minimize all windows), one to restore all minimized windows.
Please notice you have to save these scripts as vbs-files, for example Minimize.vbs and Restore.vbs.
Minimize all open windows (show desktop):
Code:
Set shell = wscript.CreateObject("Shell.Application")
Shell.MinimizeAll
Restore all minimized windows:
Code:
Set shell = wscript.CreateObject("Shell.Application")
Shell.UndoMinimizeAll
Copy and paste these to Notepad, save as XXXXXXXX.vbs as I mentioned above.
Kari
My Computer
Computer type
Laptop
Computer Manufacturer/Model Number
HP ENVY 17-1150eg
OS
Windows 10 Pro x64 EN-GB
CPU
1.6 GHz Intel Core i7-720QM Processor
Memory
6 GB
Graphics Card(s)
ATI Mobility Radeon HD 5850 Graphics
Sound Card
Beats sound system with integrated subwoofer
Monitor(s) Displays
17" laptop display, 22" LED and 32" Full HD TV through HDMI
Screen Resolution
1600*900 (1), 1920*1080 (2&3)
Hard Drives
Internal: 2 x 500 GB SATA Hard Disk Drive 7200 rpm
External: 2TB for backups, 3TB USB3 network drive for media
Cooling
As Envy runs a bit warm, I have it on a Cooler Master pad
Kari, I have found and tested the show/hide desktop, code below. The example you (just) posted 4 years ago showed how to quickly access a shell method. That's important because here MSDN gives a bunch of other methods. One of those methods is ToggleDesktop. So the VBS code is:
Code:
Set shell = wscript.CreateObject("Shell.Application")
Shell.ToggleDesktop