Windows Vista comes with the Open file location context menu item for shortcuts, which help you quickly open the target folder of a shortcut. In Windows XP, it takes four mouse clicks to accomplish the task. To open the target folder of a shortcut in Windows XP, you need to right-click on the shortcut file, click Properties and click the Find Target button to open the parent folder of the target file or folder. And an additional mouse click is needed to close the Shortcut Properties dialog.

You can add the Open file location feature in Windows XP (similar to what you have in Windows Vista) using one of the two methods. Method 1 uses a .REG file, and Method 2 uses a VBScript that I wrote. No additional shell extensions are needed!

Note: The only drawback of Method 1 is that the Open file location command will be seen in the context menu of every file and folder, not only for shortcuts. If you need the Open file location command shown only for shortcuts (.lnk files), then you may use my VBScript which is discussed in Method 2 below.

METHOD 1

Download findtarget.reg and save to Desktop. Right-click on the file and choose Merge. The Open file location command is added to the context menu for all files.

(Credits to Tweak of PlanetAMD64 forums for this .REG file tip.)

To remove the option, use the findtarget-undo.reg file.

METHOD 2

Here is a VBScript that I wrote which adds a Open file location functionality in the context menu of shortcuts (.lnk files)

1. Download opentargetdir.vbs and save it to your Windows folder. To open the Windows folder in your system, type %systemroot% in Start, Run dialog and press ENTER.

2. Double-click the file opentargetdir.vbs to run it. When you see the following prompt, simply press ENTER.

The Open file location command is now added to the context menu for shortcuts.

UNINSTALLATION

As the dialog says, type UNINSTALL and press ENTER if you want to remove the Open file location command from the context menu. Then delete the file opentargetdir.vbs from your Windows directory.

SEE ALSO

If you think of any other script ideas, feel free to post them in the Comments section below :)

Bookmark this Page!

BlinkList | del.icio.us | Digg it | Furl | reddit | Spurl | StumbleUpon |

Related Posts


Email SubscriptionPrefer an E-mail subscription?

Enter your email address:

Delivered by FeedBurner

10 Responses to “Add “Open File Location” To the Context Menu for Shortcuts in Windows XP” Subscribe to comments!

  1. shrini bhat
    said this on Tuesday, August 4th 2009 8:08 am

    Frankly, though I tried this out of curiosity dint find it much useful. So far I haven’t encountered many cases where I needed open an application shortcut folder.

  2. Jayce
    said this on Saturday, July 4th 2009 6:34 am

    Thank you. The .reg file worked exactly as the Vista option does. I’ve been looking for a way to do this in XP for a while. It really is a time saver!

    Thank you again!

  3. Krishvanth
    said this on Friday, March 27th 2009 9:49 am

    Very Very Very Very Useful!!

  4. Rodrigo
    said this on Sunday, March 15th 2009 10:35 pm

    Thanks, This is very useful for me!

    (sorry by my english.)

    Rodrigo

  5. Devildevil3
    said this on Wednesday, January 28th 2009 8:09 pm

    Sorry kleiner Fehler natührlich muss da so aussehen.

    REGEDIT5

    [HKEY_CLASSES_ROOT\exefile\shell\Dateipfad Öffnen]

    [HKEY_CLASSES_ROOT\exefile\shell\Dateipfad Öffnen\command]
    @=”Explorer.exe /e,/select,%L”

    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\exefile\shell\Dateipfad Öffnen]

    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\exefile\shell\Dateipfad Öffnen\command]
    @=”Explorer.exe /e,/select,%L”

    [HKEY_CLASSES_ROOT\lnkfile\shell\Dateipfad Öffnen]
    @=”Dateipfad Öffnen”

    [HKEY_CLASSES_ROOT\lnkfile\shell\Dateipfad Öffnen\command]
    @=hex(2):45,78,70,6c,6f,72,65,72,2e,65,78,65,20,2f,65,2c,2f,73,65,6c,65,\
    63,74,2c,25,4c,00

  6. Devildevil3
    said this on Wednesday, January 28th 2009 8:08 pm

    Hallo, da dein Skript bei mir leider nicht funktioniert habe ich es ohne Externes Programm geschafft.

    Bei mir sind jetzt bei allen Verknüpfungen dieser Eintrag zu Finden
    “Dateipfad öffnen”

    ==von hier==>>>

    [HKEY_CLASSES_ROOT\exefile\shell\Dateipfad Öffnen]

    [HKEY_CLASSES_ROOT\exefile\shell\Dateipfad Öffnen\command]
    @=”Explorer.exe /e,/select,%L”

    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\exefile\shell\Dateipfad Öffnen]

    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\exefile\shell\Dateipfad Öffnen\command]
    @=”Explorer.exe /e,/select,%L”

    [HKEY_CLASSES_ROOT\lnkfile\shell\Dateipfad Öffnen]
    @=”Dateipfad Öffnen”

    [HKEY_CLASSES_ROOT\lnkfile\shell\Dateipfad Öffnen\command]
    @=hex(2):45,78,70,6c,6f,72,65,72,2e,65,78,65,20,2f,65,2c,2f,73,65,6c,65,\
    63,74,2c,25,4c,00
    <===bis da in eine txt einfügen und in .reg umbennenen und einfügen

  7. Titan
    said this on Monday, November 17th 2008 1:09 pm

    Thanks for this!

    To the above poster, and for any other potential downloaders:
    Read and follow the instructions and things will work as intended.

  8. Skorbion
    said this on Monday, August 18th 2008 8:21 pm

    File Explorer

    explorer.exe /e,/select,%1

  9. said this on Thursday, August 14th 2008 12:13 am

    Thanks for the tip on how to add “open file” shortcut to Windows XP!

    Thanks!

  10. said this on Friday, May 9th 2008 11:24 am

    Thanks for the .vbs file!!! I’ve been using Windows Vista for a long time at home, and this is one of the many small functions Vista has, and XP hasn’t.

    At work we still use the old Windows XP (Even if I tell them how good vista is every day) and I already missed this functions many times.

    This vbs file, fixed the problem for me!

    Just one small thing, after I ran the vbs file, I manually needed to copy the same file into the Windows directory. If I didn’t do it myself, it wasn’t working.

    Thanks again!

Leave a Reply