Categories
Linux Quick Launch shortcut Show Desktop Windows 7 Windows Vista

How To: Create A Show Desktop Shortcut on Windows 7 and Vista

While Windows 7 (and Vista, if I remember right) does have a “Show Desktop” shortcut – it’s in the system tray, to the right of the clock – you may long for the days when it was in the Quick Launch toolbar like in XP or Windows 2003.

Not to fear.  You can easily create a show desktop shortcut and place it anywhere you’d like.

Open your favorite text editor and type the following code:

[Shell]
Command=2
IconFile=explorer.exe,3
[Taskbar]
Command=ToggleDesktop

Save the file as ‘Show Desktop.scf’ and make sure theat ‘All Files’ is selected in the File Type list.  Save this file on your desktop, then drag it to the Quick Launch toolbar.

If you want to customize the icon and use your own Icon instead of using the Windows default, put the path of the icon next to ‘IconFile=’ as follows:

IconFile='PATH_TO_ICON',0

See also Create Windows Shortcuts With a Script at the Command Line.