Open default browser from DOS

Hello folks, how do I Open default browser from DOS (Internet explorer) and point it to an asp website?

Cheers
LVL 7
Clever_BobAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
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.

Dufo G. BelskiRetired bureaucrat/desktop supportCommented:
At a command prompt,

iexplore {your url here}

should do it.

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
ChabneyCommented:
This isn't fancy, but......

"\Program Files\Internet Explorer\IEXPLORE.EXE" (name/ip of website)

....should work.  You could make life even easier by including that subfolder into your path statement.  Don't know of any command line switches for IEXPLORE, but there may be some.

Good luck!
DCreatureCommented:
The above two responses are indeed correct. There's also info I'd like to add.  The registry key below controls which application is used as default browser:

HKEY_CLASSES_ROOT\http\shell\open\command

You can experiment with it if you want to use an alternate or some funny applications to launch your web pages  :-)

You can also use argument like:

IExplore.exe %1

In places like scripts or batch file, where %1 represent the argument you supply to the script / batch file, just extra info :-) !!
Exploring SharePoint 2016

Explore SharePoint 2016, the web-based, collaborative platform that integrates with Microsoft Office to provide intranets, secure document management, and collaboration so you can develop your online and offline capabilities.

IvoBurkartCommented:
The default-Application for any Filetype can be launched using the "start" command:

Start http://www.google.de/
steveiamCommented:
Running "iexplore" directly from the command line will force it to use Internet Explorer, overriding whatever the default browser may be.  If you use IvoBurkart's method, using "start", then the OS will look up what the default browser is, and use that to open the URL.
Clever_BobAuthor Commented:
Thanks all for your help!
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
Operating Systems

From novice to tech pro — start learning today.