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
- Adding the "Add to Quick Launch" context menu option in Windows XP
- “Copy Target URL” context menu option for Internet Shortcut (.url) files
- Adding the Run as Administrator option for .VBS and .JS files
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
- Add “Copy as Path” Option to the Context Menu in Windows XP
- How to Restore All Windows in a Grouped Taskbar Button in Windows 7?
- Add “Open in InPrivate Window” Option to the Right-Click Menu for Internet Shortcuts (.URL Files)
- Create Shortcuts to Eject and Close CD/DVD Drive
- Where Is the “Up” Button in Windows Vista?
- Add Quick Launch (Create Shortcut) Option to the Send to Menu in Windows XP/Vista
- View Hidden Items in the Send to Menu in Windows 7
- Hidden Right-Click (Context) Menu Options in Windows 7
- Determine the Target Path of Windows Installer Shortcuts
- Launching Programs as Administrator From the Vista Start Menu
If you enjoyed this post, make sure you subscribe to our RSS feed! We feature Tips, Troubleshooting information, Scripts and Utilities for Microsoft Windows Operating Systems!
Prefer an E-mail subscription?

› 
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.
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!
Very Very Very Very Useful!!
Thanks, This is very useful for me!
(sorry by my english.)
Rodrigo
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
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
Thanks for this!
To the above poster, and for any other potential downloaders:
Read and follow the instructions and things will work as intended.
File Explorer
explorer.exe /e,/select,%1
Thanks for the tip on how to add “open file” shortcut to Windows XP!
Thanks!
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!