“Copy Target URL” context menu option for Internet Shortcut (.url) files
The Copy as Path shell command that’s built into Windows Vista inspired me to write a script that copies the target hyperlink of an .URL file when passed as a parameter.
After following the steps in this article, you’ll see a Copy Target URL context menu option when you right-click on an Internet Shortcut (.URL) file. Clicking this option copies the hyperlink of the file to the Windows Vista Clipboard.
Add COPY TARGET URL command in the context menu
1. Download CopyURL.vbs and save to Desktop.
2. Move the file CopyURL.vbs to your Windows directory.
3. Double-click CopyURL.vbs to run it.
4. To add the Copy Target URL, type INSTALL when you see this dialog

5. Press ENTER and you’ll get the confirmation message.
The Copy Target URL command should be available in the right-click menu. The option
REMOVING THE OPTION
To remove the Copy Target URL context menu option, double-click CopyURL.vbs in your Windows folder. Type the word UNINSTALL in the input box that will be presented. After you see the confirmation message, simply delete the file CopyURL.vbs from your Windows directory.
RELATED POSTS
- Add “Copy as Path” option to the context menu in Windows XP
- Add “Open file location” to the context menu for shortcuts in Windows XP
- Copy Title and URL Menu Extension for Internet Explorer
- Add Copy To and Move To to the right-click menu in Vista
- Adding the Run as Administrator option for .VBS and .JS files
Bookmark this Page!BlinkList | del.icio.us | Digg it | Furl | reddit | Spurl | StumbleUpon | Wink |


If you enjoyed this post, make sure you
Prefer an E-mail subscription?
Pingback by Add "Copy as Path" option to the context menu in Windows XP - The Winhelponline Blog on 10 May 2008:
[...] "Copy Target URL" context menu option for Internet Shortcut (.url) files [...]