Launching Internet Explorer from the command-line: Where can I find the official syntax?

Ichinisan

Lifer
Oct 9, 2002
28,298
1,235
136
Surely there must be SOME way to find the syntax for Internet Explorer. The -k (kiosk mode) switch is well-known...how was this discovered? Microsoft does not document any syntax information in the IE help files, and iexplore.exe /? reveals nothing.

Surely a program must exist which can examine an executable and reveal the switches; even if it cannot display descriptions of their functions. Has anyone ever heard of such an application?
 

SaigonK

Diamond Member
Aug 13, 2001
7,482
3
0
www.robertrivas.com
Don;t ever say i didnt come through for you at least one time. :)


-channelband
IE as a Desktop Toolbar, displaying the Channels Directory of the currently logged on user. This option only applies when Active Desktop is off. IE4 only.

-e
Launch IE in Explorer mode (standard two pane view, My Computer on left, Content on right).

-new
Start up IE in a separate process.
-nohome
Open IE and don't open any web page at all.

-slf
Launch IE and connect to default home page. Loads the default home page from the cache.

-k Launch IE in Kiosk mode.
 

Ichinisan

Lifer
Oct 9, 2002
28,298
1,235
136
Thanks...

It looks like there's no way to include HTML password information in a URL passed at the command line. In fact, that possibility is not even included in the syntax you gave. (iexplore ) I guess IE just isn't documented at all.
 

stevewm

Senior member
Dec 6, 2001
742
1
0
Originally posted by: Ichinisan
Thanks...

It looks like there's no way to include HTML password information in a URL passed at the command line. In fact, that possibility is not even included in the syntax you gave. (iexplore ) I guess IE just isn't documented... start [url]http://username:pass@www.blah.com
[/b]

The Start command will open whatever is set as the default browser on the system and pass the URL to it. This method works great for IE.
 

teknodude

Member
Apr 11, 2002
186
0
0
Originally posted by: Ichinisan
That's what I tried...it works fine for FTP, not HTTP.

Hmm...it all depends on the authentication method. The username and p/w in the URL method that you've tried (http://username:pass@www.blah.com) will only apply for sites that use HTTP auth. If the site has its own login form and custom auth system then it is unlikely you will be able to login using a URL called from the command line, unless they do something incredibly insecure like passing your username and password in the URL's querystring! lol.

Hope that helps...

teknodude
 

Ichinisan

Lifer
Oct 9, 2002
28,298
1,235
136
The website I am accessing uses the standard pop-up dialog built into the browser. I can link directly to a file, and still get the standard password dialog. Linking with the password information, IE loads a page telling me that the syntax is incorrect. (It wasn't)