Welcome to Soft32 Forums!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

find target button

 
   Soft32 Home -> Win4 Arch -> Basics RSS
Next:  Clear Type Power Toy by MS  
Author Message
Paul Tierney

External


Since: Mar 12, 2006
Posts: 7



(Msg. 1) Posted: Wed Nov 01, 2006 7:15 pm
Post subject: find target button
Archived from groups: microsoft>public>windowsxp>basics (more info?)

in shortcut properties "find target button" does nothing
Back to top
Login to vote
Javi0084

External


Since: Jul 26, 2006
Posts: 19



(Msg. 2) Posted: Thu Nov 02, 2006 7:25 am
Post subject: RE: find target button [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Could it be because the file or program that the shortcut is pointing to is
no longer there?


"Paul Tierney" wrote:

> in shortcut properties "find target button" does nothing
>
>
>
Back to top
Login to vote
Claymore

External


Since: Dec 12, 2006
Posts: 134



(Msg. 3) Posted: Thu Nov 02, 2006 8:03 am
Post subject: Re: find target button [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hi,

I've looked for a solution to this myself before - I'll work it out one
of these days. But meantime you might be interested in this workaround
which adds "Find Target" to the right-click context menu of shortcuts.
Even if it's not the ideal fix, it does save the triple click using
Properties and Find Target.
I got this years ago so can't give proper credit to the author.
Copy the text below between the dotted lines - but not the dotted lines
themselves - and paste into Notepad. Save the result as Find-Target.bat
or something similar - but note the .bat extension (no .txt).
Double click on the saved .bat file to activate. No restart required.

----------------------------------------------------------------------

@echo off
setlocal
set FT="%TEMP%\Find_Target.tmp"
set FTV="C:\Find_Target.vbs"
@echo REGEDIT4>%FT%
@echo.>>%FT%
@echo [HKEY_CLASSES_ROOT\lnkfile\Shell\Find Target\command]>>%FT%
@echo @="wscript.exe \"C:\\Find_target.vbs\" \"%%1\"">>%FT%
@echo.>>%FT%
@echo.>>%FT%
@echo Dim param, filenam, targt, shortct>%FTV%
@echo Set param = WScript.Arguments>>%FTV%
@echo filenam = param (0)>>%FTV%
@echo Set WshShell = WScript.CreateObject("WScript.Shell")>>%FTV%
@echo Set shortct = WshShell.CreateShortcut(filenam)>>%FTV%
@echo targt = shortct.TargetPath>>%FTV%
@echo WshShell.Run "%windir%\explorer.exe /select," ^& Chr(34) ^& targt
^& Chr(34)>>%FTV%
regedit /s %FT%
del /q %FT%
endlocal

-------------------------------------------------------------------------

As yiou can see, this will also put a .vbs file in the root of your C:
drive. If you don't like it there, you would have to edit the above
..bat file - at lines 4 and 8.
Back to top
Login to vote
Claymore

External


Since: Dec 12, 2006
Posts: 134



(Msg. 4) Posted: Thu Nov 02, 2006 8:29 pm
Post subject: Re: find target button [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hello again, Paul

I dug into the Find Target problem and think I've found the solution.
The clue for me was that I got the same problem when I went to Start =>
Run and typed in a folder path, e.g. "C:\Program Files". Normally this
should open Explorer at this folder, but I was getting the same "Open
with" window.

Anyhoo, I found an easy way to correct this - the problem is with the
Registry key "Folder" in HKEY_CLASSES_ROOT\Folder

Doug Knox has a fix as follows, with a small addition of my own:

Go to his site here:

http://www.dougknox.com/

Click on 'WinXP Fixes' on the left
Click on 'File Association Fixes'
Click on 'Folder Association Fix'
Save the .zip file to your Desktop

Locate the Registry key HKEY_CLASSES_ROOT\Folder

Highlight this key and go to File => Export
Export this key (click the "Selected branch" radio button at the
bottom) and save to your desktop as Folder_old.reg

Now, right-click and delete the Folder key

Double-click on Doug Knox's .reg file that you extracted to the Desktop
earlier to Merge the contents.

Try the Find Target button again.

It should work.

There's only one possible problem he doesn't cover. If you've installed
programs that add extra items to the right-click context for folders
these will be lost. So, we have to put back part of the Folder_old.reg
file. You can do this by activating the context menu additions within
the particular program(s), or:

Right-click on the file Folder_old.reg that you saved to the Desktop
and click on "Edit". This opens the file in Notepad. You now have to
delete a whole chunk of this file and leave some parts. The parts that
will remain are the parts that refer to "shellex". They are at the end
of the file. They begin with this line:

[HKEY_CLASSES_ROOT\Folder\shellex]
@=""

Delete everything before this line, but keep the very first line of the
file intact. It is:

Windows Registry Editor Version 5.00

The finished result will look like this (without the dotted lines):

-------------------------------------------------

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Folder\shellex]
@=""

.... then a bunch of shellex lines

------------------------------------------------

When you're done, save the result as shellex.reg
BE SURE YOU SAVE UNDER A DIFFERENT NAME - DO NOT OVERWRITE THE ORIGINAL
Folder_old.reg file, JUST IN CASE YOU WANT TO PUT EVERYTHING BACK.

Double-click on the saved file shellex.reg to Merge the contents.

Retry the 'Find Target' button.
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Find Target - get search window - About a month ago I began having a problem with doing the "find target" in properties on right-clicking an i...

In Word: Can't find DISTRIBUTE TEXT button - I can't seem to find the distribute text button in Word. Perhaps it got deleted accidently and uninstall-reinstall..

Save Target As -

Shortcut with %USERPROFILE% AND embedded spaces in target .. - I want to define a desktop shortcut that launches Explorer in the user's "%USERPROFILE%\Application Data" di...

@ button - When i press the @ button with shift it appears as " and when i press the 2 button with shift it appears as @ Not ...

No Back Button! - Is there a way to restore the back button? It's grayed out... JCW
       Soft32 Home -> Win4 Arch -> Basics All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum

Categories:
 Windows
 Linux
 Mac
 PDA



[ Contact us | Terms of Service/Privacy Policy ]