Double-clicking a .url file (Website shortcut) always launches it using the default browser. But, there are situations where you need to open different website shortcuts in different browsers. By adding browser choices to the right-click menu for .url files, you can choose a non-default web browser from the list and launch the website in it.
One way to make this possible is by adding the Open with context menu option which does not exist by default for internet shortcut files. Apart from Open with, there are other ways to launch a website shortcut using a non-default web browser.
Open Website shortcuts with any browser via right-click menu
Method 1: Using the “Open with” menu
Download url-openwith-classic.zip, unzip, and run the enclosed .reg file. It adds the Open with option to the right-click menu, by adding the following registry key:
The (default) value data is set to
Right-click on a .url file and click Open with…
This launches the Open with dialog. If the non-default browsers aren’t listed in the first screen, click More apps ↓
Select your browser from the link, and click OK.
Method 2: Adding web browser shortcuts to the Send To menu
Here is a standard method many people use — the Send To menu. Open the SendTo folder of your user profile (type
shell:sendto in Run dialog) and place the browser shortcuts in that folder. Then, right-click a website shortcut, click Send To and open the link in a non-default browser.
Editor’s note: Some browsers such as Google Chrome simply open the .URL file as a text file, instead of opening the web address mentioned in the file. This is because they don’t include a .URL handler registered by default. This is a known issue, reported in their official forum: Issue 114871 – chromium – Chrome doesn’t recognize .url files properly. And here is how it looks when you use one of the above two methods to open a .URL using Chrome.
Of course, there are Chrome Plug-ins that parse the .URL file and make Chrome launch the web address instead of outputting the file contents in the browser. Alternately, you can use Method 3 or 4 in this article to avoid the above problem.
Method 3: Using “Open With” ribbon command in the right-click menu (lists registered browsers)
Download url-openwith-modern.zip, unzip and run the REG file. Additional “Open” command is added to the right-click menu for URL files, with a sub-menu containing the list of installed browsers. This lists all the web browsers installed and registered with Default Programs. This method uses the
Windows.OpenWith ribbon command in the context menu, and it works in Windows 8 and Windows 10 only.
The following registry key is added using this method:
The string value (REG_SZ)
ExplorerCommandHandler set to
The list of registered browsers is shown in the submenu. Applications other than web browsers aren’t listed. The shell populates this list of browsers from the Default Programs (Default Apps) registration.
One downside of this method is that an additional Open command (with a sub-menu) will display in the right-click menu, as seen above. Its caption and the menu icon can’t be customized via the registry. As said earlier, this Open with menu works only on Windows 8 and Windows 10.
Method 4: Adding a Cascading menu that lists all browsers
This method makes use of the excellent Cascading menu feature in Windows. It works in Windows 7 and higher, including Windows 10.
- Download url-openwith-cascade.zip and extract the contents to a folder.
- Double-click to run the file BrowsersMenu.reg
- Move the VBScript file BrowserLaunch.vbs to your Windows directory. In the Access Denied dialog that appears, click Continue.
The script file BrowserLaunch.vbs parses the .URL file, gets the web address and then launches it using the chosen browser. The script is simply a launcher/stub script, and the contents of it can be read using a text editor like Notepad.
Now you have a neat looking Open with Cascading menu with the curated list of web browsers.
Further customization: If you have a browser in the list that’s not installed in the system, you can remove it from the menu by simply modifying the registry value here:
The value to be modified is SubCommands
Its value data is by default set as:
For example, if you don’t use Internet Explorer, you can change the value data to:
It should be easy to adapt the registry settings in Method 4 for more web browsers.
Featured image by Isabel Ródenas from Pixabay
One small request: If you liked this post, please share this?One "tiny" share from you would seriously help a lot with the growth of this blog. Some great suggestions:
- Pin it!
- Share it to your favorite blog + Facebook, Reddit
- Tweet it!
About the author
Ramesh Srinivasan founded Winhelponline.com back in 2005. He is passionate about Microsoft technologies and he has been a Microsoft Most Valuable Professional (MVP) for 10 consecutive years from 2003 to 2012.