Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: How pin the same executable twice to the Start menu?

30 Jan 2011   #1
davidbr

Windows 7 Ultimate 32bit
 
 
How pin the same executable twice to the Start menu?

I use two shortcuts to start Chrome with different profiles, so I have:

Code:
C:\Users\Me\AppData\Local\Google\Chrome\Application\chrome.exe --user-data-dir="C:\Users\Me\Chrome_Profile_1"
and

Code:
C:\Users\Me\AppData\Local\Google\Chrome\Application\chrome.exe --user-data-dir="C:\Users\Me\Chrome_Profile_2"
The problem is I can't pin both shortcuts to the start menu. They are treated as if they are the same (I guess it's because the executable is the same, and the extra arguments are ignored).

What can I do?

Thanks,
Dave


My System SpecsSystem Spec
.
31 Jan 2011   #2
davidbr

Windows 7 Ultimate 32bit
 
 

Quote   Quote: Originally Posted by Manay Pepin View Post
Make a copy of the Chrome executable and assign a different name, for example, Chrome2. When you launch it, it will group itself with the initial Chrome icon the taskbar, but you can have two or more copies of the same app in the Start Menu this way.
Hi Manay and thanks for your reply. Copying the executable itself seems kind of lame, isn't it?
Perhaps I can write two one-liner batch files that will execute Chrome and create shortcuts to them instead the original executable itself? It's just that I have never wrote a batch file for windows. Should I only write the command ()as in the shortcut target)?

Thanks,
Dave
My System SpecsSystem Spec
31 Jan 2011   #3
logicearth

Windows 10 Pro (x64)
 
 

Writing a batch file is a little over kill. I have a better way that won't require any additional hard drive space. Simply create a hardlink to the original executable file. Can use this command: (Change [USERNAME] of course)

Code:
mklink /H "C:\Users\[USERNAME]\AppData\Local\Google\Chrome\Application\chrome2.exe" "C:\Users\[USERNAME]\AppData\Lo
cal\Google\Chrome\Application\chrome.exe"
My System SpecsSystem Spec
.

31 Jan 2011   #4
davehc
Microsoft MVP

Vista and now 7 in 32 and 64 bit.
 
 

The example you give, looks like the same profile??
Anyway, if they are, you can pin Chrome to the taskbar. If you have chrome open and need another chrome up, press the middle mouse key.,
My System SpecsSystem Spec
31 Jan 2011   #5
davidbr

Windows 7 Ultimate 32bit
 
 

Quote   Quote: Originally Posted by logicearth View Post
Writing a batch file is a little over kill. I have a better way that won't require any additional hard drive space. Simply create a hardlink to the original executable file.
Thanks, this seems like a nice solution. I didn't know Windows has hard links. However, it seems hard links do require hard drive space (Mklink in Windows).
My System SpecsSystem Spec
31 Jan 2011   #6
davidbr

Windows 7 Ultimate 32bit
 
 

Quote   Quote: Originally Posted by davehc View Post
The example you give, looks like the same profile??
No, these are different profile folders:
Code:
--user-data-dir="C:\Users\Me\Chrome_Profile_1"
and
Code:
--user-data-dir="C:\Users\Me\Chrome_Profile_2"
.
My System SpecsSystem Spec
31 Jan 2011   #7
logicearth

Windows 10 Pro (x64)
 
 

Quote   Quote: Originally Posted by davidbr View Post
Thanks, this seems like a nice solution. I didn't know Windows has hard links. However, it seems hard links do require hard drive space (Mklink in Windows).
Explorer may show the hardlink is taking up space but it is not. It is merely a reference in the MFT that points to the same file. An Alias as it were. You can make a dozen hardlinks of the say file, the size utilized will never decrease of increase. You can easily test this out.

Just so we are clear, Explorer (and others that list files) shows and has a file size because it needs to act exactly like a regular file. A hardlink would be 100% useless if it did not. So the post in your link is WRONG.
My System SpecsSystem Spec
31 Jan 2011   #8
mickey megabyte

ultimate 64 sp1
 
 

just happened upon this article: Use Chrome and Chromium Side-By-Side for Easy Profile Management

probably a bit late now, but anyway...
My System SpecsSystem Spec
31 Jan 2011   #9
davidbr

Windows 7 Ultimate 32bit
 
 

Thank you all.
My System SpecsSystem Spec
31 Jan 2011   #10
mickey megabyte

ultimate 64 sp1
 
 

My System SpecsSystem Spec
Reply

 How pin the same executable twice to the Start menu?




Thread Tools




Similar help and support threads
Thread Forum
How do I find preinstalled program's executable from the Start Menu
I have a new Windows 7 Professional machine, on which Adobe Reader is preinstalled. A program I'm using (called TeXnicCenter, if you must know), is calling some program called Nitro to view the PDF files it creates. I want to change that to Reader, which means I need to find its executable. ...
Software
How add custom entry to Start Menu shutdown menu
Hello all!! I need to know if is possible to add a custom entry to shutdown menu, that's in the Start Menu. Thanks...
Customization
Start Menu - Add Libraries to Search in Start Menu
How to Pin Libraries to Search and See More Results in Start Menu This tutorial will show you how to add links for the Libraries in the Start Menu, to be able to search from the Start Menu Search Bar and See More Results directly within the Libraries. You will only be able to add a total of...
Tutorials
menu view of personal folders pinned to start menu
Hi, I have created and pinned some personal folders to the start menu. They now appear on the left hand side of the start menu, along with the other applications. Here are my questions: 1) How can I set up those folders so that they would appear with the little arrow on the right that will...
Customization
Menu sound effects not working for Windows 7 start menu
I upgraded from Windows XP to 7. I have "menu command" and "menu pop-up" sound effects set but they are not working for the Windows 7 start menu. They used to work for XP. It was helpful to hear a sound effect whenever a menu expanded or item was pressed in the start menu. I know this may be a...
General Discussion
Non-Executable Files Won't Unpin from Start Menu
I noticed a bit of a weird error with the Windows 7 start menu. Whenever you drag an item into the start menu that isn't an executable file or a shortcut to an executable, it will create an entry, but it doesn't give you the full range of menu options to unpin it when you right click it. For...
General Discussion


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 00:37.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App