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

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

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

Windows 8.1 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
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

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

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

Windows 8.1 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

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

Windows 7 Ultimate 32bit
 
 

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

ultimate 64 sp1
 
 

My System SpecsSystem Spec
Reply

 How pin the same executable twice to the Start menu?




Thread Tools




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 09:14 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33