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.
LVL 8
biztigerAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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
Cloud Class® Course: Amazon Web Services - Basic

Are you thinking about creating an Amazon Web Services account for your business? Not sure where to start? In this course you’ll get an overview of the history of AWS and take a tour of their user interface.

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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
biztigerAuthor Commented:
Thanks all of you for your valuable guidance.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Legacy OS

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.