Welcome to MSFN

Register now to gain access to all of our features. Once registered and logged in, you will be able to contribute to this site by submitting your own content or replying to existing content. You'll be able to customize your profile, receive reputation points as a reward for submitting content, while also communicating with other members via your own private inbox, plus much more! This message will be removed once you have signed in.


Oh_Kay

Add 'Find Target' to Right Click...

38 posts in this topic

Hi guys,

Im looking for a way to add the 'find target' command to my 'right click / contextual menu' in windows XP SP2, Im all googled out and can't find jack on the subject of this particular mod...

Anyone out there come across that one ? or can you suggest a way I may find it using RegShot or what ever that app is called ?

Any help is appreciated.

Kay

0

Share this post


Link to post
Share on other sites

Very hard Kay and I never saw it posted before. :no: Its a dll call btw.

0

Share this post


Link to post
Share on other sites

Tsunami Guess you right if you looking to install another dll.

NOT for me.

Surely theres a way to make that dll call to the existing dll.

Then its a tweak

0

Share this post


Link to post
Share on other sites

maxXPsoft : Nice to see your still a regular here, I don't get around these parts as much as I used to ;)

Thanks for your input on this one, I didn't realise it was a dll call, I dunno nothing about dll's so I would never have thought to look down that road...

Tsunami: WOW ! I Googled till I could Google no more on that one, I can't imagine what you typed in to get that result, but a huge THANKS !!

From reading that link, the author of that code had the same problem I now have and had to resort to writing something to do the job, and while Im not nuts about adding something else to the system when I don't know what it does, I really want the functionality of this one... so until something better comes along, Im gonna run with it...

Seasons Greetings to one and all.

Kay

0

Share this post


Link to post
Share on other sites

Google search criteria was "find target" context

0

Share this post


Link to post
Share on other sites

a buddy of mine recently asked me to write him a program to do this and the first step of doing so is researching exactly how it's done and i've come across an even more simple way than an entire program.......so i realize this post here is old news but maybe this will help someone out in the future.......

you can use a registry hack like this to add "Find Target" to the context menu for every single file type and directory....cant seem to get this to work for just shortcut (.lnk) files (there really is no point in "find target" if you're looking at the file right?) but hopefully this will point someone in the right direction.

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Directory\shell\Find.Target]

@="&Find Target"

[HKEY_CLASSES_ROOT\Directory\shell\Find.Target\command]

@="\"explorer.exe\" /select,\"%1\""

[HKEY_CLASSES_ROOT\*\shell]

[HKEY_CLASSES_ROOT\*\shell\Find.Target]

@="&Find Target"

[HKEY_CLASSES_ROOT\*\shell\Find.Target\command]

@="\"explorer.exe\" /select,\"%1\""

0

Share this post


Link to post
Share on other sites

filthy_mcnasty

Perhaps it don't work since .lnk is a normally hidden extension. I know theres a reg tweak to turn them into not hidden but it makes things look nasty lol

0

Share this post


Link to post
Share on other sites

Hello.

Oh_key, I'm afraid you won't find such a registry hack for .lnk files. As far as I know you need to load the shelllink and resolve it. After this you'll be able to find the target object. At least Context Magic doing so. I agree with maxXPsoft, you'll need a .dll.

Have a nice day,

Leonid

0

Share this post


Link to post
Share on other sites

Wow, I started this thread 9 months ago, and here I am again, after a reinstall, looking for the method to add this back in to my windows all over again, it's the feature I just can't live without !!

Thanks to everyone for the replies, I have been using the first soloution from Code Project for months now and it works fine, so thats what I will be using again.

It would be nice if there was an easeir way to implement it rather than adding a DLL file, but thats up to Microsoft to add this feature in to their next OS (hint hint)

:)

Kay

0

Share this post


Link to post
Share on other sites

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Directory\shell\Find.Target]
@="&Find Target"

[HKEY_CLASSES_ROOT\Directory\shell\Find.Target\command]
@="\"explorer.exe\" /select,\"%1\""

[HKEY_CLASSES_ROOT\*\shell]

[HKEY_CLASSES_ROOT\*\shell\Find.Target]
@="&Find Target"

[HKEY_CLASSES_ROOT\*\shell\Find.Target\command]
@="\"explorer.exe\" /select,\"%1\""

The long wait is over. Enjoy. ;)

0

Share this post


Link to post
Share on other sites

hmmm, doesnt work for me...in using it from cmd window, this is just used to select the file in a explorer window

Edited by evilvoice
0

Share this post


Link to post
Share on other sites

You could always use 'target' from Windows 95 Power Toys, (it still works on XP).

It should be available from JSI,Inc - tip 8336

0

Share this post


Link to post
Share on other sites
hmmm, doesnt work for me...in using it from cmd window, this is just used to select the file in a explorer window

Driving a car from the back seat is unworkable also. Half-hearted attempts mean little. I do not call the command interpreter from the registry to run it. :huh:

Find Target opens explorer to select the file that the shortcut points to. So what is the difference between the RegTweak and the one in shortcut tab in properties?

It does require displaying to only *.lnk files which the RegTweak needs to be improved upon.

0

Share this post


Link to post
Share on other sites
hmmm, doesnt work for me...in using it from cmd window, this is just used to select the file in a explorer window

Driving a car from the back seat is unworkable also. Half-hearted attempts mean little. I do not call the command interpreter from the registry to run it. :huh:

Find Target opens explorer to select the file that the shortcut points to. So what is the difference between the RegTweak and the one in shortcut tab in properties?

It does require displaying to only *.lnk files which the RegTweak needs to be improved upon.

the added portion of the command window was an extra attempt on my part to see if it worked...I really wish it did, but it does not...using the find target in props works fine...just this reg tweak does not. I copied your code directly into a reg entry, merged it, right click on a lnk file, selected find target and it takes me to where the lnk file is (which is All Users Desktop), whereas find target in props takes me to C:\ and highlights the folder.

Edited by evilvoice
0

Share this post


Link to post
Share on other sites

Here's an alternative, instead of using explorer to go to a folder containing the target, it just pops up a message box.

  • First create this file and save it as %SystemRoot%\system32\GeTarget.vbs

MsgBox CreateObject("WScript.Shell").CreateShortcut(WScript.Arguments (0)).TargetPath

The above should all be on one line.

  • Now paste this into Start » Run and click OK

REG ADD "HKCU\Software\Classes\lnkfile\Shell\Find Target\command" /ve /d "wscript.exe \"%SystemRoot%\system32\GeTarget.vbs\" \"%1\"" /f

This should be all one line also.

Now right click any shortcut and choose Find Target

0

Share this post


Link to post
Share on other sites

Take a look at this file,just run it

code used from filthy_mcnasty's Post

:thumbupfind target

it worked for me, i'm using winxp with SP2 :hello::hello::hello:

Edited by praveenkumar_ht
0

Share this post


Link to post
Share on other sites

@ praveenkumar_ht

The Microsoft file I linked to at JSI, works, as does my vbs method above your reply, as also does this, also c/o JSI.

Incidentally MHZ's code is identical to that already given by filthy_mcnasty

0

Share this post


Link to post
Share on other sites

I have got this file findtarget.dll which I downloaded from some very good coding site, (I don't remember which).

I use the ua cd to register it in my sytem32 folder using

regsvr32.exe /s "%WINDIR%\SYSTEM32\FINDTARGET.DLL"

It gives me what you all are looking for, working in Winxp Pro.

If you need it, I am not sure if I can post it, I will send it (small size 6.36kb)

0

Share this post


Link to post
Share on other sites

@ clavicle

The dll file is probably the one in use already the original questioner, Oh_Kay.

However the Microsoft PowerToys file I linked to is also a dll file.

The only problem with both of these examples is that we would prefer not to use a dll file.

Not that there is anything wrong in you offering your file, just that it seems that the thread is re-covering old ground again, with little new being added.

0

Share this post


Link to post
Share on other sites

@Yzöwl

Curosity kills the cat! I didn't go into details, may be the file is same, in fact I wanted to end the hunt by offering a tested solution. Thanks!

0

Share this post


Link to post
Share on other sites

Hi all,

I stumbled on this thread (and forum!) from google, and this is my first post, but I just wanted to report that I have combined the suggestions of MHz and Yzöwl into the following:

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Classes\lnkfile\Shell\Find Target\command]
@="\"explorer.exe\" /select,\"%1\""

(save as plain text with the extension .REG, and run it)

This seems to work for me in XP, with no need for additional DLLs. Thanks to everyone in the thread for the ingredients!

0

Share this post


Link to post
Share on other sites
@ clavicle

The dll file is probably the one in use already the original questioner, Oh_Kay.

However the Microsoft PowerToys file I linked to is also a dll file.

The only problem with both of these examples is that we would prefer not to use a dll file.

Not that there is anything wrong in you offering your file, just that it seems that the thread is re-covering old ground again, with little new being added.

Indeed

Of course they are both in Japanese but you just have to tweak the context menu entry to put it in english.

Edited by eidenk
0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.