How pin the same executable twice to the Start menu?

davidbr

New member
Local time
12:44 AM
Messages
5
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 Computer

OS
Windows 7 Ultimate 32bit
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 Computer

OS
Windows 7 Ultimate 32bit
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 Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Alienware Aurora ALX R4
OS
Windows 10 Pro (x64)
CPU
Intel Core i7-3930K (3.2GHz - 4.5GHz)
Motherboard
Alienware Aurora-R4 x79
Memory
4x Samsung 4GB PC3-12800 DDR3 (16GB 1600MHz)
Graphics Card(s)
Nvidia Geforce GTX 690
Sound Card
SteelSeries Siberia Elite
Monitor(s) Displays
Dell UltraSharp U3011
Screen Resolution
2560x1600
Hard Drives
Samsung 850 Pro 256 GB, Seagate 1TB Desktop Hybrid HDD, 2x Western Digital 4TB Green HDD
PSU
875W Some Dell PSU <.<
Case
Alienware Aurora ALX
Cooling
Custom Liquid Cooling (EK CPU & GPU blocks) dual EK 480RAD
Keyboard
Logitech G710+ Mechanical
Mouse
Logitech G700s
Internet Speed
Verizon Fios (50 mbps average)
Other Info
Server: Intel NUC D54250WYK: i5-4250U, 16GB, 256 GB mSATA, Windows Server 2012 R2
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 Computer

Computer Manufacturer/Model Number
Three desktops and one laptop with good specs..
OS
Vista and now 7 in 32 and 64 bit.
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 Computer

OS
Windows 7 Ultimate 32bit
The example you give, looks like the same profile??

No, these are different profile folders:
Code:
--user-data-dir="C:\Users\Me\[B]Chrome_Profile_1[/B]"
and
Code:
--user-data-dir="C:\Users\Me\[B]Chrome_Profile_2[/B]"
.
 

My Computer

OS
Windows 7 Ultimate 32bit
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 Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Alienware Aurora ALX R4
OS
Windows 10 Pro (x64)
CPU
Intel Core i7-3930K (3.2GHz - 4.5GHz)
Motherboard
Alienware Aurora-R4 x79
Memory
4x Samsung 4GB PC3-12800 DDR3 (16GB 1600MHz)
Graphics Card(s)
Nvidia Geforce GTX 690
Sound Card
SteelSeries Siberia Elite
Monitor(s) Displays
Dell UltraSharp U3011
Screen Resolution
2560x1600
Hard Drives
Samsung 850 Pro 256 GB, Seagate 1TB Desktop Hybrid HDD, 2x Western Digital 4TB Green HDD
PSU
875W Some Dell PSU <.<
Case
Alienware Aurora ALX
Cooling
Custom Liquid Cooling (EK CPU & GPU blocks) dual EK 480RAD
Keyboard
Logitech G710+ Mechanical
Mouse
Logitech G700s
Internet Speed
Verizon Fios (50 mbps average)
Other Info
Server: Intel NUC D54250WYK: i5-4250U, 16GB, 256 GB mSATA, Windows Server 2012 R2

My Computer

Computer Manufacturer/Model Number
mickey megabyte 1234
OS
ultimate 64 sp1
CPU
i5 2500K [email protected]
Motherboard
MSI P67A-GD53
Memory
8 gigs GSkill Ripjaws 1600
Graphics Card(s)
amd hd6950
Sound Card
creative x-fi gamer
Monitor(s) Displays
samsung 24"
Screen Resolution
1920x1080
Hard Drives
ocz vertex 2e 60 gig, samsung f3 1tb, buffalo 2tb ext
PSU
antec 550
Case
antec three hundred
Cooling
i'm a cooling fan
Keyboard
saitek eclipse ii
Mouse
logitech g3
Internet Speed
about 4 Mbps
Other Info
i love win7
:cool:
 

My Computer

Computer Manufacturer/Model Number
mickey megabyte 1234
OS
ultimate 64 sp1
CPU
i5 2500K [email protected]
Motherboard
MSI P67A-GD53
Memory
8 gigs GSkill Ripjaws 1600
Graphics Card(s)
amd hd6950
Sound Card
creative x-fi gamer
Monitor(s) Displays
samsung 24"
Screen Resolution
1920x1080
Hard Drives
ocz vertex 2e 60 gig, samsung f3 1tb, buffalo 2tb ext
PSU
antec 550
Case
antec three hundred
Cooling
i'm a cooling fan
Keyboard
saitek eclipse ii
Mouse
logitech g3
Internet Speed
about 4 Mbps
Other Info
i love win7
Another possibility is:

1) Create a 0kb file in Notepad
2) Save it as whatever.txt
3) Rename it to whatever.exe
4) Right click and pin it to the taskbar
5) Right click on the just-pinned icon (#1 in screenshot)
6) Right click on the icon name (#2 in screenshot, Office Renovations), choose Properties
7) Change the paths in the 'Target' and 'Start in' fields. Don't forget to enclose both paths in quotes.

8) Click OK. You're done.

Works for Pin to Start Menu as well.

James
 

Attachments

  • Pin any item to Taskbar.JPG
    Pin any item to Taskbar.JPG
    52.1 KB · Views: 13

My Computer

OS
Win7U 64 RTM
CPU
Q9550
Motherboard
GA-EP45-UD3R
Memory
8GB Gskill
Graphics Card(s)
ASUS|EAH4850/HTDI/1GD3/A
Sound Card
xfi Plat
Monitor(s) Displays
Dell 2405fpw
Screen Resolution
1920x1200
Hard Drives
Seagate & WD sata Drives
PSU
Antec
Case
Antec
Keyboard
MS Natural Ergonomic 4000
Mouse
Logitech MX610 USB Cordless
another possibility:

  1. buy another computer
  2. install chrome
  3. use that for alternative profile
  4. voilà - no mucking around involved!

*edit* sorry...shouldn't drink and post :o
 

My Computer

Computer Manufacturer/Model Number
mickey megabyte 1234
OS
ultimate 64 sp1
CPU
i5 2500K [email protected]
Motherboard
MSI P67A-GD53
Memory
8 gigs GSkill Ripjaws 1600
Graphics Card(s)
amd hd6950
Sound Card
creative x-fi gamer
Monitor(s) Displays
samsung 24"
Screen Resolution
1920x1080
Hard Drives
ocz vertex 2e 60 gig, samsung f3 1tb, buffalo 2tb ext
PSU
antec 550
Case
antec three hundred
Cooling
i'm a cooling fan
Keyboard
saitek eclipse ii
Mouse
logitech g3
Internet Speed
about 4 Mbps
Other Info
i love win7
another possibility:

  1. buy another computer
  2. install chrome
  3. use that for alternative profile
  4. voilà - no mucking around involved!
*edit* sorry...shouldn't drink and post :o

:geek: Perhaps it looks more complicated than it is. In real (and sober) life, it takes seconds. In fact, I have a shortcut already made and placed on my desktop so that pinning any folder or file requires only steps 4-7. Of course, you can buy another computer, if that's easier on you. :)

James
 

My Computer

OS
Win7U 64 RTM
CPU
Q9550
Motherboard
GA-EP45-UD3R
Memory
8GB Gskill
Graphics Card(s)
ASUS|EAH4850/HTDI/1GD3/A
Sound Card
xfi Plat
Monitor(s) Displays
Dell 2405fpw
Screen Resolution
1920x1200
Hard Drives
Seagate & WD sata Drives
PSU
Antec
Case
Antec
Keyboard
MS Natural Ergonomic 4000
Mouse
Logitech MX610 USB Cordless
you're right james, i was just being silly ;)
 

My Computer

Computer Manufacturer/Model Number
mickey megabyte 1234
OS
ultimate 64 sp1
CPU
i5 2500K [email protected]
Motherboard
MSI P67A-GD53
Memory
8 gigs GSkill Ripjaws 1600
Graphics Card(s)
amd hd6950
Sound Card
creative x-fi gamer
Monitor(s) Displays
samsung 24"
Screen Resolution
1920x1080
Hard Drives
ocz vertex 2e 60 gig, samsung f3 1tb, buffalo 2tb ext
PSU
antec 550
Case
antec three hundred
Cooling
i'm a cooling fan
Keyboard
saitek eclipse ii
Mouse
logitech g3
Internet Speed
about 4 Mbps
Other Info
i love win7

My Computer

OS
Win7U 64 RTM
CPU
Q9550
Motherboard
GA-EP45-UD3R
Memory
8GB Gskill
Graphics Card(s)
ASUS|EAH4850/HTDI/1GD3/A
Sound Card
xfi Plat
Monitor(s) Displays
Dell 2405fpw
Screen Resolution
1920x1200
Hard Drives
Seagate & WD sata Drives
PSU
Antec
Case
Antec
Keyboard
MS Natural Ergonomic 4000
Mouse
Logitech MX610 USB Cordless
did your pc not come with an os?

i recommend linux mint ;)
 

My Computer

Computer Manufacturer/Model Number
mickey megabyte 1234
OS
ultimate 64 sp1
CPU
i5 2500K [email protected]
Motherboard
MSI P67A-GD53
Memory
8 gigs GSkill Ripjaws 1600
Graphics Card(s)
amd hd6950
Sound Card
creative x-fi gamer
Monitor(s) Displays
samsung 24"
Screen Resolution
1920x1080
Hard Drives
ocz vertex 2e 60 gig, samsung f3 1tb, buffalo 2tb ext
PSU
antec 550
Case
antec three hundred
Cooling
i'm a cooling fan
Keyboard
saitek eclipse ii
Mouse
logitech g3
Internet Speed
about 4 Mbps
Other Info
i love win7
Back
Top