MSFN Forum: Add 'Find Target' to Right Click... - MSFN Forum

Jump to content


  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

Add 'Find Target' to Right Click... Rate Topic: -----

#1 User is offline   Oh_Kay 

  • TechnoBabe
  • Pip
  • Group: Members
  • Posts: 91
  • Joined: 03-October 03

Posted 26 December 2004 - 06:04 PM

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


#2 User is offline   maxXPsoft 

  • MSFN Master
  • Group: Developers
  • Posts: 2,748
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 30 December 2004 - 04:34 PM

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

#3 User is offline   Tsunami 

  • Member
  • PipPip
  • Group: Members
  • Posts: 292
  • Joined: 05-March 04

Posted 30 December 2004 - 04:41 PM

Well, the first result on Google seems to work fine. You have to register to get it though, but that's done quickly.

#4 User is offline   maxXPsoft 

  • MSFN Master
  • Group: Developers
  • Posts: 2,748
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 30 December 2004 - 05:05 PM

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

#5 User is offline   Oh_Kay 

  • TechnoBabe
  • Pip
  • Group: Members
  • Posts: 91
  • Joined: 03-October 03

Posted 30 December 2004 - 09:56 PM

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

#6 User is offline   evilvoice 

  • Ditchy McAbandonpants
  • PipPipPipPipPip
  • Group: Members
  • Posts: 946
  • Joined: 27-January 04

Posted 30 December 2004 - 11:31 PM

deleted

#7 User is offline   Yzöwl 

  • Wise Owl
  • Group: Super Moderator
  • Posts: 4,363
  • Joined: 13-October 04
  • OS:Windows 7 x64

Posted 31 December 2004 - 06:35 AM

Google search criteria was "find target" context

#8 User is offline   filthy_mcnasty 

  • Group: Members
  • Posts: 1
  • Joined: 07-April 05

Posted 07 April 2005 - 11:02 PM

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\""

#9 User is offline   maxXPsoft 

  • MSFN Master
  • Group: Developers
  • Posts: 2,748
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 22 April 2005 - 04:11 PM

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

#10 User is offline   eidenk 

  • MSFN Addict
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,527
  • Joined: 28-March 05

Posted 16 August 2005 - 06:16 AM

Target Folder Opener

Link Open

#11 User is offline   TiredLion 

  • Group: Members
  • Posts: 4
  • Joined: 16-August 05

Posted 17 August 2005 - 02:06 AM

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

#12 User is offline   Oh_Kay 

  • TechnoBabe
  • Pip
  • Group: Members
  • Posts: 91
  • Joined: 03-October 03

Posted 17 September 2005 - 02:02 PM

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

#13 User is offline   MHz 

  • SendToA3X v1.7
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,634
  • Joined: 02-August 04

Posted 18 September 2005 - 10:41 PM

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. ;)

#14 User is offline   evilvoice 

  • Ditchy McAbandonpants
  • PipPipPipPipPip
  • Group: Members
  • Posts: 946
  • Joined: 27-January 04

Posted 18 September 2005 - 11:27 PM

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

This post has been edited by evilvoice: 18 September 2005 - 11:35 PM


#15 User is offline   Yzöwl 

  • Wise Owl
  • Group: Super Moderator
  • Posts: 4,363
  • Joined: 13-October 04
  • OS:Windows 7 x64

Posted 19 September 2005 - 04:08 AM

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

It should be available from JSI,Inc - tip 8336

#16 User is offline   MHz 

  • SendToA3X v1.7
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,634
  • Joined: 02-August 04

Posted 19 September 2005 - 04:37 AM

evilvoice, on Sep 19 2005, 03:27 PM, said:

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

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.

#17 User is offline   evilvoice 

  • Ditchy McAbandonpants
  • PipPipPipPipPip
  • Group: Members
  • Posts: 946
  • Joined: 27-January 04

Posted 19 September 2005 - 05:39 AM

MHz, on Sep 19 2005, 05:37 AM, said:

evilvoice, on Sep 19 2005, 03:27 PM, said:

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

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.
<{POST_SNAPBACK}>



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.

This post has been edited by evilvoice: 19 September 2005 - 05:43 AM


#18 User is offline   Yzöwl 

  • Wise Owl
  • Group: Super Moderator
  • Posts: 4,363
  • Joined: 13-October 04
  • OS:Windows 7 x64

Posted 19 September 2005 - 06:42 AM

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

#19 User is offline   praveenkumar_ht 

  • Newbie
  • Group: Members
  • Posts: 10
  • Joined: 12-November 04

Posted 19 September 2005 - 07:39 AM

Take a look at this file,just run it

code used from filthy_mcnasty's Post


:thumbup find target

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

This post has been edited by praveenkumar_ht: 19 September 2005 - 07:40 AM


#20 User is offline   Yzöwl 

  • Wise Owl
  • Group: Super Moderator
  • Posts: 4,363
  • Joined: 13-October 04
  • OS:Windows 7 x64

Posted 19 September 2005 - 07:58 AM

@ 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

Share this topic:


  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

2 User(s) are reading this topic
0 members, 2 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2013 msfn.org
Privacy Policy