There are several ways to accomplish this:

The folder for the Windows 7 taskbar is located at:

C:\Users\USER_NAME\AppData\Roaming\Microsoft\Internet Explorer\Quick 
Launch\User Pinned\TaskBar

You can create a shortcut there and upon logging off and back on, it should 
appear.
**************************************************

  1.  Create a shortcut to your batch file.
  2.  Get into shortcut property and change target to something like: cmd.exe 
/C "path-to-your-batch".
  3.  Simply drag your new shortcut to the taskbar. It should now be pinnable.
**************************************************

  1.  Rename your .cmd/.bat to to .exe
  2.  Right clicking on the *.exe and choose pin to taskbar
  3.  Rename it back to .cmd/.bat
  4.  Shift+right clicking the taskbar icon (for the exe) and choose properties
  5.  Changing the reference from *.exe to .cmd/.bat and change icon as needed
It starts working right away but the icon refresh needs a reboot.
**************************************************
There is only one simple rule that you have to follow in order to make almost 
any item "pinnable" to the taskbar: create a shortcut, save it somewhere safe 
so you don't delete it by mistake, create a shortcut to that shortcut and add 
the explorer word before its path. Then you have a shortcut which you can pin 
to the taskbar.
******************************************************


JimM

From: [email protected] [mailto:[email protected]] On 
Behalf Of James Rankin
Sent: Wednesday, May 15, 2013 10:11 AM
To: [email protected]
Subject: [NTSysADM] Pin a .chm file to the Taskbar or Start Menu

Anyone got any sneaky ways of getting a .chm file, or a shortcut to a .chm 
file, to be pinned to the Taskbar or Start Menu? Apparently there are only 
certain file types you can bung on there...has anyone had to cross this bridge 
and found a way of achieving it?

TIA,



--
James Rankin
Technical Consultant (ACA, CCA, MCTS)
http://appsensebigot.blogspot.co.uk<http://appsensebigot.blogspot.co.uk/>
**Warning** Any technical data is or may be controlled under the U.S. 
International Traffic in Arms Regulations (ITAR) and may not be exported, 
released, or disclosed to foreign nationals without proper authorization by the 
U.S. Department of State." "CONFIDENTIALITY NOTICE: This electronic 
transmission, its contents and any attachments (hereinafter referred to 
collectively as "transmission") are confidential and are solely directed to, 
and intended for, the named addressee(s) only. Any use, reproduction or 
dissemination of this transmission by an unintended recipient is strictly 
prohibited. If you receive this transmission in error, please immediately 
notify the sender and delete this transmission in its entirety from your files. 
All intellectual property rights in this transmission are expressly reserved."

Reply via email to