Link to home
Start Free TrialLog in
Avatar of JohnPaddock
JohnPaddock

asked on

How do I get the target path that an advertised shortcut uses

With Advertised Shortcut's, such as the ms office shortcuts, where the target box is greyed out, how can I get the path that the shortcut is using, without using scripts or powershell, and without using taskmanager (rightclicking the process and clicking properties).  I imagine it's in the registry somewhere, but can't find it.
Avatar of Qlemo
Qlemo
Flag of Germany image

The question is why you don't want to use a simple script, but to walk a difficult path?
ASKER CERTIFIED SOLUTION
Avatar of Qlemo
Qlemo
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
JohnPaddock--
"Advertised Shortcuts"?  I do not understand.  
I have Outlook 2010 installed on my PC.  The path to outlook.exe is C:\Program Files (x86)\Microsoft Office\Office14
The path to any shortcut depends on where I put the shortcut.
Avatar of JohnPaddock
JohnPaddock

ASKER

if you look at the properties of your outlook shortcut, does it show you the target path?  (If it does, it's not an advertised shortcut)
you can google 'Advertised shortcuts' to find out more about them
Thanks Qlemo.  I can't use task manager since the program won't start.  Scripts are fine but this was more a curiosity of where in the registry it is.  Plus the powershell script I was running kept giving errors, so I didn't have a script that worked, but your registry solution worked.  Thank-you
The PowerShell script relies on COM, and might fail for the same reason the program does not start. Of course that is a valid reason to ask for manual steps ;-).