The Copy as Path command in the right-click menu is an extremely useful one to quickly copy the full path of a file or folder to clipboard. Similarly, for internet shortcut (.url) files, here is a script that lets you copy the web address (URL) of a internet shortcut, via the right-click menu.
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 shortcut’s Web address to the Windows clipboard.
Add “Copy Target URL” command to the right-click menu
- Download CopyURL.zip and save to Desktop.
- Extract the enclosed script file
- Move CopyURL.vbs to your Windows directory.
- Double-click CopyURL.vbs to run it.
- In the input box that appears, type
- Press ENTER. You’ll get the confirmation message.
The Copy Target URL command is now added to the right-click menu for
How to Remove the option?
To remove the Copy Target URL context menu option, double-click the script file 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.