If you have followed our previous example of creating a Show Desktop icon for Windows 7, I bet you are also wondering how to pin that icon to the taskbar just like any other application. Don’t worry, here’s the way to pin your favorite files/folders to the taskbar. 1. Open a notepad. Go to File -> Save As.
Save the file as ‘Show Desktop.exe’ in your desktop (you can give any name you want, but it must end with a .exe extension). Close the file.
Drag the Show Desktop.exe file to the taskbar. This will automatically pin it to the taskbar.
Right click on the pinned icon. Right click on its name and select Properties.
Change the target path to the file/folder that you want to pin. In this case, I am pointing it to the Show Desktop.scf file on my desktop.
Click Ok. That’s it. As easy as that.