Click here to Skip to main content
15,892,298 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a problem when try pin application to Task Bar when run application from shared drive. In this scenario there is no option for pin application.
Please help me with this problem.

What I have tried:

I tried mapped shared drive, but doesn't work.
Posted
Updated 10-Aug-16 22:21pm

1 solution

This isn't really dev related, but...
It's complicated, because Windows really, really doesn't want you to do this.
1) Create a .TXT file on your desktop with the same name as the EXE you want to pin: "MyApp.txt" for example.
2) Use Windows explorer to browse to your desktop, and rename the file to an executable: "MyApp.exe" Close the window.
3) Drag the newly named file from the Desktop to the Task Bar and drop it to create a pinned shortcut.
4) Use Windows explorer to go the network location which contains the real EXE and create a shortcut to it - this will give you a shortcut file with the same name as your EXE: "MyApp.lnk".
5) Use another Windows explorer instance to go to "C:\Users\YOURUSERNAME\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar".
6) Drag the link from the network location to the taskbar folder, and replace the link of the same name.

The pinned link now points at a networked exe, but the icon will probably not change until you restart Windows.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900