Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 424
  • Last Modified:

Opening a url on system default webbrowser from Command Prompt

Hi Experts,

Do you know how to open a url on system default browser from Command Prompt?

I can open any url using Internet Explorer, but not on default system web browser.

For Internet Explorer I use the following command:
start iexplore "http://myurl.com"

Thanks in advance for your help.
0
biztiger
Asked:
biztiger
4 Solutions
 
darron_chapmanCommented:
0
 
Malli BoppeCommented:
you don't need even double quotes
0
 
biztigerAuthor Commented:
It works only if you omit the double quotes. Now if I want to open the following in the default webbrowser what to do:

E:\a\New Project\src\main.html

start "E:\a\New Project\src\main.html" doesn't seems to work.

But you were right on my basic question.
Thanks a lot.  
0
Get your Disaster Recovery as a Service basics

Disaster Recovery as a Service is one go-to solution that revolutionizes DR planning. Implementing DRaaS could be an efficient process, easily accessible to non-DR experts. Learn about monitoring, testing, executing failovers and failbacks to ensure a "healthy" DR environment.

 
Malli BoppeCommented:
did you try start  E:\a\New Project\src\main.html
It works for me.
0
 
biztigerAuthor Commented:
Look at the space between New and Project. When I try to open this it gives a error syaing:
Windows can't find "E:\a\New" ......

It doesn't take the full url for space
0
 
AmazingTechCommented:
Put another double quotes.

start "" "E:\a\New Project\src\main.html"

This first is actually specifying a title or you could name the title. You won't see it in this case though.

start "title" "E:\a\New Project\src\main.html"


0
 
biztigerAuthor Commented:
Thanks all of you for your valuable guidance.
0

Featured Post

NEW Veeam Backup for Microsoft Office 365 1.5

With Office 365, it’s your data and your responsibility to protect it. NEW Veeam Backup for Microsoft Office 365 eliminates the risk of losing access to your Office 365 data.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now