{"id":231,"date":"2008-04-26T17:04:17","date_gmt":"2008-04-26T11:34:17","guid":{"rendered":"http:\/\/198.58.113.91\/blog\/?p=231"},"modified":"2019-05-12T03:00:04","modified_gmt":"2019-05-12T03:00:04","slug":"copy-target-url-context-menu-option-for-internet-shortcut-url-files","status":"publish","type":"post","link":"https:\/\/www.winhelponline.com\/blog\/copy-target-url-context-menu-option-for-internet-shortcut-url-files\/","title":{"rendered":"How to Copy Address of a Internet Shortcut (.URL) via Right-click Menu"},"content":{"rendered":"<p>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. <\/p>\n<p>After following the steps in this article, you&#8217;ll see a <strong>Copy Target URL<\/strong> context menu option when you right-click on an Internet Shortcut (.URL) file. Clicking this option copies the shortcut&#8217;s Web address to the Windows clipboard.<!--more--><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2008\/04\/copytargeturl.gif\" alt=\"add &quot;copy target url&quot; context menu option for internet shortcuts\" width=\"212\" height=\"91\" class=\"alignnone size-full wp-image-8715\" \/><\/p>\n<h2>Add &#8220;Copy Target URL&#8221; command to the right-click menu<\/h2>\n<ol>\n<li>Download <a href=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2008\/04\/copyurl.zip\">CopyURL.zip<\/a> and save to Desktop.<\/li>\n<li>Extract the enclosed script file <code>CopyURL.vbs<\/code> to Desktop.<\/li>\n<li>Move CopyURL.vbs to your Windows directory.<\/li>\n<li>Double-click CopyURL.vbs to run it.<\/li>\n<li>In the input box that appears, type <strong><code>INSTALL<\/code><\/strong>:\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2008\/04\/copy-url-script-install.png\" alt=\"copy target url - internet shortcut right-click menu\" width=\"359\" height=\"160\" class=\"alignnone size-full wp-image-8713\" \/><\/li>\n<li>Press <kbd>ENTER<\/kbd>. You&#8217;ll get the confirmation message.<\/li>\n<\/ol>\n<p>The <strong>Copy Target URL<\/strong> command is now added to the right-click menu for <code>.url<\/code> files.<\/p>\n<h4>How to Remove the option?<\/h4>\n<p>To remove the <strong>Copy Target URL<\/strong> context menu option, double-click the script file <strong>CopyURL.vbs<\/strong> in your Windows folder. Type the word <code><strong>UNINSTALL<\/strong><\/code> in the input box that will be presented. After you see the confirmation message, simply delete the file CopyURL.vbs from your Windows directory.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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 &#8230; <a title=\"How to Copy Address of a Internet Shortcut (.URL) via Right-click Menu\" class=\"read-more\" href=\"https:\/\/www.winhelponline.com\/blog\/copy-target-url-context-menu-option-for-internet-shortcut-url-files\/\" aria-label=\"Read more about How to Copy Address of a Internet Shortcut (.URL) via Right-click Menu\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[7],"tags":[114,480],"class_list":["post-231","post","type-post","status-publish","format-standard","hentry","category-windows","tag-context-menu","tag-scripts"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":3903,"url":"https:\/\/www.winhelponline.com\/blog\/copy-as-path-without-quotes-file-uri-format\/","url_meta":{"origin":231,"position":0},"title":"How to Copy as Path Without Quotes or in File URI Format","author":"Ramesh","date":"August 26, 2016","format":false,"excerpt":"When using the built-in Copy as Path context menu option or the Copy Path ribbon button to copy file names to clipboard, the output would contain quotes for file\/folder name paths, such as below. There are some situations where you don't need quotes whether the file names contain spaces or\u2026","rel":"","context":"In &quot;Windows&quot;","block_context":{"text":"Windows","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/"},"img":{"alt_text":"copy as path without quotes and in URI format","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2016\/08\/copyaspath-uri-1.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2016\/08\/copyaspath-uri-1.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2016\/08\/copyaspath-uri-1.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":275,"url":"https:\/\/www.winhelponline.com\/blog\/add-copy-as-path-right-click-menu-in-xp\/","url_meta":{"origin":231,"position":1},"title":"How to Add &#8220;Copy as Path&#8221; to Right Click Menu in Windows XP","author":"Ramesh","date":"May 10, 2008","format":false,"excerpt":"Windows Vista and higher already include the useful Copy as Path option in the context menu, which helps you quickly copy the complete path of the selected file(s) or folder(s) to the Clipboard. Here is how to add \"Copy of Path\" feature in Windows XP. There are two methods discussed,\u2026","rel":"","context":"In &quot;Windows XP&quot;","block_context":{"text":"Windows XP","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/windows-xp\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/archived\/copypath.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":9842,"url":"https:\/\/www.winhelponline.com\/blog\/open-command-prompt-current-folder-keyboard-shortcut\/","url_meta":{"origin":231,"position":2},"title":"Open Command Prompt in Current Folder Using Keyboard Shortcut","author":"Ramesh","date":"June 19, 2019","format":false,"excerpt":"There are at least a couple of ways to open Command Prompt in the current folder path from a folder window. The two widely used options include running cmd.exe from the File Explorer address bar and using the Open Command window here option from the folder background context menu. But,\u2026","rel":"","context":"In &quot;Windows&quot;","block_context":{"text":"Windows","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/"},"img":{"alt_text":"open command prompt in current folder - autohotkey","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2019\/06\/open-cmd-here-autohotkey-3.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2019\/06\/open-cmd-here-autohotkey-3.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2019\/06\/open-cmd-here-autohotkey-3.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2019\/06\/open-cmd-here-autohotkey-3.png?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":18617,"url":"https:\/\/www.winhelponline.com\/blog\/open-file-folder-path-clipboard-using-shortcut\/","url_meta":{"origin":231,"position":3},"title":"How to Open File or Folder Path from the Clipboard Using Shortcut","author":"Ramesh","date":"September 15, 2020","format":false,"excerpt":"Sometimes we may need to copy a file or folder path from your email or chat window to the clipboard, and open the file or folder manually. Most people open the file or folder by launching the Run dialog, pasting the path from the Clipboard, and clicking OK. If your\u2026","rel":"","context":"In &quot;Utilities&quot;","block_context":{"text":"Utilities","link":"https:\/\/www.winhelponline.com\/blog\/category\/utilities\/"},"img":{"alt_text":"copy path to clipboard to Run dialog","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2020\/09\/copy-path-clipboard-run-dialog.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":273,"url":"https:\/\/www.winhelponline.com\/blog\/add-the-open-file-location-context-menu-for-shortcuts-in-windows-xp\/","url_meta":{"origin":231,"position":4},"title":"How to Add &#8220;Open File Location&#8221; Right-Click Option in Windows XP","author":"Ramesh","date":"May 9, 2008","format":false,"excerpt":"Windows Vista and Windows 7 include the Open file location context menu item for Shortcuts, which helps 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\u2026","rel":"","context":"In &quot;Windows XP&quot;","block_context":{"text":"Windows XP","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/windows-xp\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/opentargetdir.gif?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":271,"url":"https:\/\/www.winhelponline.com\/blog\/copy-title-and-url-menu-extension-for-internet-explorer\/","url_meta":{"origin":231,"position":5},"title":"Copy Title and URL Extension for Internet Explorer","author":"Ramesh","date":"May 7, 2008","format":false,"excerpt":"Here is a nice Internet Explorer extension which copies the current webpage title and address to the Windows clipboard. The script from billsway.com was originally written for earlier Internet Explorer versions, and I've modified a line - thanks to IE MVP Socrates (Soc) Trikes - to make it work in\u2026","rel":"","context":"In &quot;Internet Explorer&quot;","block_context":{"text":"Internet Explorer","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/internet-explorer\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2008\/05\/titleurl1.gif?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/posts\/231","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/comments?post=231"}],"version-history":[{"count":0,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/posts\/231\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/media?parent=231"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/categories?post=231"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/tags?post=231"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}