Wednesday 31 March 2010

Opening a website in default browser from command prompt

If you need to open a website in your default browser by using command prompt, you can use the commands below, my recommendation is using the first command with rundll32, because explorer.exe called IE instead of default browser on some computers to open given URL.

rundll32 url.dll,FileProtocolHandler www.microsoft.com

explorer http://www.microsoft.com

No comments:

Post a Comment