Site icon Winhelponline

How to Copy Address of a Internet Shortcut (.URL) via Right-click Menu

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

  1. Download and save to Desktop.
  2. Extract the enclosed script file CopyURL.vbs to Desktop.
  3. Move CopyURL.vbs to your Windows directory.
  4. Double-click CopyURL.vbs to run it.
  5. In the input box that appears, type INSTALL:

  6. Press ENTER. You’ll get the confirmation message.

The Copy Target URL command is now added to the right-click menu for .url files.

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.

Exit mobile version