For a desktop shortcut:
In the Windows operating system, the and the Taskbar serve two distinct purposes:
To add a desktop icon to your taskbar, you can use the Pin to Taskbar feature. This allows you to keep frequently used applications just one click away, even when they are closed. YouTube +1 How to Pin an Icon You can quickly pin an application using several different methods: From the Desktop
Simply click and hold the desktop icon, drag it down to an empty space on the taskbar, and release it when you see "Pin to taskbar".
The Recycle Bin is a virtual folder (CLSID 645FF040-5081-101B-9F08-00AA002F954E ) with no executable target. Windows Taskbar pinning requires a file system path or registered app ID.
Before proceeding, understand:
Therefore, adding a desktop icon to the taskbar often means: Extract the target of the desktop shortcut, and pin that target.
If you have an icon on your desktop that you want to stay permanently on the taskbar: