[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

How: Make two shortcuts pinned task-bar, for the same executable program?

Posted on 2014-08-06
9
Medium Priority
?
620 Views
Last Modified: 2014-08-13
Win 7, 64bit
I have a shortcut to a website on my taskbar:
Target:  C:\Users\Glurth\AppData\Local\Google\Chrome\Application\chrome.exe --app=http://192.168.222.2
Works great.  However, if I try to add another website shortcut to my task bar, Windows presents a red crossed out circle as the mouse cursor, and does not let me drop it on the taskbar.  Based upon my tests it appears this is because this second shortcut is also using chrome.exe
Target:  C:\Users\Glurth\AppData\Local\Google\Chrome\Application\chrome.exe --app=http://192.168.222.3

The only way I was able to make this work, was to make a COPY of chrome.exe called chrome2.exe, and use THAT in my second shortcut.
Target:  C:\Users\Glurth\AppData\Local\Google\Chrome\Application\chrome2.exe --app=http://192.168.222.3
While this works as a temporary solution, I don’t like it.  When chrome.exe is updated, chrome2.exe will NOT be updated.

The last thing I tried was creating a BATCH file to launch chrome.  I have no idea why THIS shortcut cannot be dragged onto the task bar, but it cannot.  Also, when launched, the taskbar icon for the running program, does NOT match the icon on the shortcut (I guess it’s using some “batch file icon” instead.)

Do any experts know of a way to make two shortcuts, using the same .exe, “different enough” that they can BOTH be put on the taskbar?  
Please note: that I am using a particular switch in chrome (--app) so that these websites open in their own window, without menu’s, address bar, and other browser buttons.  This means, putting JUST the website address in the shortcut is not going to work the same way.
0
Comment
Question by:Korbus
  • 3
  • 3
  • 3
9 Comments
 
LVL 50

Expert Comment

by:jcimarron
ID: 40244033
Korbus --
The location of your Taskbar shortcuts should be in C:\Users\Username\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar
Try dropping the desired shortcut there.
0
 
LVL 10

Author Comment

by:Korbus
ID: 40244054
I put a copy of the shortcut in that folder, and can see it there.  Alas, it does NOT display on the taskbar.
I even tried a log-off and logon after that to see if it would reset or something, but no luck.
0
 
LVL 97

Expert Comment

by:Lee W, MVP
ID: 40244067
Pin it as you have with "chrome2.exe", then right click on it, right click on the name of it and select the properties - then change the executable back to what you want it to be.
illustrationIn the illustration above I've right-clicked on the taskbar icon for the snipping tool, then right clicked on Snipping tool to get the menu displaying properties - click on properties and change the shortcut.
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 10

Accepted Solution

by:
Korbus earned 0 total points
ID: 40244105
What the heck ?!
I can suddenly pin it now (using chome.exe in the shortcut)!

I deleted the shortcut I put into that folder to see if thats what made it start working, but even without it, I can still pin the shortcut now!

I discovered this by accident, just as I was about to try your suggestion, Lee!

Boy do I hate it when behaviors change like that, with no apparent reason!  (especially 20 minutes after I post it on EE!!)

Do you guys have ANY explanation for this?  What kind of behavior do YOU get?
EDIT:  I still cannot pin the BATCH file to the taskbar, and putting a copy in that folder does not display it.  Not that I really need the batch file now, but perhaps its relevant to whats going on?
0
 
LVL 97

Expert Comment

by:Lee W, MVP
ID: 40244124
The task bar has some restrictions - you cannot pin network run programs, for example.  That's where I developed my trick I just posted.  In order to get a network based program pinned, I had to pin the EXE while it lived on the C: drive and then change the path.
0
 
LVL 97

Assisted Solution

by:Lee W, MVP
Lee W, MVP earned 1000 total points
ID: 40244131
More information on Taskbar pinning:
Details reserved works that prevent pinning as well as reserved apps.
http://weblog.west-wind.com/posts/2009/Oct/08/Application-that-wont-Pin-to-Taskbar-in-Windows-7
0
 
LVL 50

Assisted Solution

by:jcimarron
jcimarron earned 1000 total points
ID: 40244909
Three or four other solutions are posted here.
http://superuser.com/questions/100249/how-to-pin-either-a-shortcut-or-a-batch-file-to-the-new-windows-7-taskbar

"The easiest would be
1.Create a shortcut to your batch file.
2.Get into shortcut Properties 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 "

Source:
http://superuser.com/questions/100249/how-to-pin-either-a-shortcut-or-a-batch-file-to-the-new-windows-7-taskbar
0
 
LVL 50

Expert Comment

by:jcimarron
ID: 40249275
Korbus--
Glad to have helped.  It is good all is well.
0
 
LVL 10

Author Closing Comment

by:Korbus
ID: 40257852
Thanks for your assistance guys.  I ended up marking the "it just started working" comment as the solution, since we don't know why, for people who look this up. Your comments and links were quite informative and helpful, thanks again.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When asking a question in a forum or creating documentation, screenshots are vital tools that can convey a lot more information and save you and your reader a lot of time
Ever visit a website where you spotted a really cool looking Font, yet couldn't figure out which font family it belonged to, or how to get a copy of it for your own use? This article explains the process of doing exactly that, as well as showing how…
This Micro Tutorial will give you a basic overview of Windows DVD Burner through its features and interface. This will be demonstrated using Windows 7 operating system.
This Micro Tutorial will give you a introduction in two parts how to utilize Windows Live Movie Maker to its maximum editing capability. This will be demonstrated using Windows Live Movie Maker on Windows 7 operating system.

834 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question