Default web browser, and the command line (7)

1 Name: #!/usr/bin/anonymous : 2008-04-18 13:24 ID:rXREF8en

In the windows command line interface CMD, typing "start iexplore [URL]" will start Internet Explorer and make it go to the web page of your choice. I find myself doing this a lot from work, because for some weird reason the nanny software hides IE's address bar. Is there a similar command that will start the default web browser, regardless of whether it's IE, Firefox, or some other browser?

2 Name: #!/usr/bin/anonymous : 2008-04-18 15:30 ID:I2eoJTFg

Yes, just start [URL]

Try ctr+l in IE. I think it opens an address bar for you.

3 Name: #!/usr/bin/anonymous : 2008-04-18 16:34 ID:rXREF8en

start [URL] gives an error message at my work computer, I'll try it at home later, but I don't think the start command actually knows what to do with an arbitrary URL.

4 Name: #!/usr/bin/anonymous : 2008-04-18 16:56 ID:I2eoJTFg

>>3
Check this link".
Document files may be invoked through their file association just by typing the name of the file as a command.
e.g. START WORD.DOC would launch the application associated with the .DOC file extension

I'd expect start http://google.com/index.html to work, for example.

What's the error you get? I don't have windows so I cannot test here.

5 Name: dmpk2k!hinhT6kz2E : 2008-04-18 18:08 ID:Heaven

I don't think you even need the start prefix. On my machine at home just typing word.doc will fire up Microsoft Word.

I doubt that shortcut works with a URL though.

6 Name: #!/usr/bin/anonymous : 2008-04-18 21:00 ID:H7bs9UIe

>What's the error you get?

It turns out >>2 actually works, but you have to preface the URL with the protocol http://

7 Name: #!/usr/bin/anonymous : 2008-04-19 01:42 ID:Heaven

>>6
Cool.
Actually thought about it when I posted. It makes sense, how else would it know if you meant a directory named google.com or a website http://google.com?
I added the /index.html to be completely sure thought.

This thread has been closed. You cannot post in this thread any longer.