Post by T Post by VanguardLH
As long as you can define a working shortcut, you should be able to pin
the shortcut to the taskbar.
See me 5:59 post, where I give steps to do this.
You can't rename the icon.
Rename the icon? Or rename the shortcut name? Shortcuts are .lnk file
so they can take on the same characters as can be used in a filename.
I can rename the shortcut. I created one with your command string (all
of it but with the program and its argument enclosed in double-quotes)
and called the shortcut "test". On the desktop, I selected the shortcut
(single-click) and renamed it to "newtest". Right-clicking on the
renamed shortcut still showed the "Pin to Taskbar" context menu entry,
and dragging the renamed shortcut to the taskbar also worked to pin to
the taskbar. I don't see how the name of the shortcut matters -- other
than the shortcut's name shows up in the popup description when hovering
over the pinned shortcut (so name the shortcut something memorable
If "renaming the icon" means you specified a different icon for the
shortcut, I did that, too. After creating the shortcut with the full
command string, renaming the shortcut, and changing the shortcut's
properties to pick a different icon (I used shell32.dll to find some),
it still would pin the taskbar.
Don't know what weird software config you have that interferes with
creating a shortcut, renaming it, and then pinning it. Also, I did not
have to create a shortcut with just "cmd.exe". I had the shortcut
specify the full command string.
Items pinned to the Windows taskbar will show up under the following
%appdata%\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar\
The shortcut in that folder will be named <chosenName>.lnk (shortcuts
are .lnk files). If you open that folder in Windows Explorer, can you
successfully create a shortcut there with whatever command string you
Which Windows theme are you using? I'm using an Aero theme (and not the
basic one). While pinning to the Start menu was available back in
Windows XP, pinning to the taskbar was a new feature introduced in
Windows 7. Tis possible it is an Aero feature, or more easily
accomplished when using the full Aero theme.
Features new to Windows 7
If you are using the full Aero theme, perhaps some tweak or background
process is interferring with easy pinning of shortcuts. You cannot test
by booting into Windows's safe mode since, I believe, the the effects of
the Aero theme are disabled in safe mode.
Perhaps someone decided to disable an advanced feature, like DWM
(Desktop Window Manager). This is for the desktop composition feature.
To check, go to:
- Run "control.exe sysdm.cpl".
- Advanced tab.
- Performance "Settings" button.
Is "desktop composition" enabled or disabled? When you look at services
(run services.msc), what is the startup state of the "Desktop Window
Manager Session Manager"? It should be Automatic.