View Full Version : easier access to Find Target command? (WME)
MikeGeek
01-31-2005, 10:46 AM
You all know about how in the properties of a shortcut, there is the option to Find Target, which opens the containing folder and selects the file pointed to by the shortcut... well, many of you must know, if not all :)
What I would like to do is add a right-click-menu item that does exactly that to a shortcut, without going through properties.
I know it is already in the system at other locations; in windows' Search windows, on the right-click-menu of any found files, there is the command "Open Containing Folder"
This IS all done in the registry, right?
So, if someone can help me, I would love to know what to do!
Here you go <font color=green>DanK<font color=green> (http://www.codeproject.com/shell/findtarget.asp>http://www.codeproject.com/shell/findtarget.asp</a>
You)
MikeGeek
02-03-2005, 12:17 PM
Haha! I did it myself... so proud!
I knew there had to be a simple way to do it, and I am not sure how, but I found it.
And so, I wish to share it with the world... sorta...
Anyways,in
HKEY_CLASSES_ROOT\*\shell
I added
\Find Target\
Default = &Find Target
\Find Target\command
Default = C:\WINDOWS\Explorer.exe /select,%L
I found the anoyingly simple command /select off of a windows IE info web page... I got luckey...
But the %L took me forever to find!! Thats the parameter that tells the new window WHAT to open to, and I found it in the registry under
HKEY_CLASSES_ROOT\Folder\shell\explore\command
the default value is
C:\WINDOWS\Explorer.exe /idlist,%I,%L
Hey, does anyone know where I can find a list of what all the / and % commands are? I would love to know at least some.
Oh, and thanks DanK, as your pointing to that information was what got me going in the right direction!
BertImmenschuh
02-03-2005, 02:00 PM
I tried this and it works, except for WordPerfect and Microsoft Office on WinXP Pro. The issue is that the Target: box shows the name of the program, not the path to the executable, and is grayed out so it can't be changed. Haven't checked other programs yet.
<font color=blue>Good judgement comes from experience, and experience comes from bad judgement.</font color=blue> <font color=green>Experience is a wonderful thing. It enables you to recognize a mistake when you make it again.</font color=green>
earagon
02-15-2005, 11:48 AM
Hi,
I've been stumped by this problem for days -- so glad to run across your post! Question-- does your method also select the target file after its opened the target folder? Also, is your method withstanding the test of time (looks like its been about a week anyway)?
thanks!
Powered by vBulletin™ Version 4.1.0 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.