Heroes’ PrimaTech Paper - Another Email It Pays To Network!

Internet Explorer Command-line Switches

Written by Saman Sadeghi on February 28, 2007 Add comments

One of my first articles on Samanathon.com was Internet Explorer 7’s Kiosk Mode, and it is consistently in the top five most popular pages so I though I should cover some more of IE7 command-line switches!

How To

You can pass these by opening the Run dialog, add a space and the switch of your choice:

iexplore -k

The List

-k
Starts IE7 in kiosk mode. It will be full screen without the tool bar, address bar or status bar.

To exit, simply hit Alt+F4!

[URL]
You can enter a web address or even a local one. Although, if you’re going to enter a local address, just type the path directly!

Example:

iexplore http://samanathon.com

-extoff
Runs IE7 without any add-ons. You will get this warning:

All Internet Explorer add-ons, such as ActiveX controls or toolbars, are turned off. Some webpages might not display correctly.

This one can be used with with a URL:

iexplore http://samanathon.com -extoff

-nohome
Doesn’t display your home page. The browser’s tab will say “Connecting” for some reason, but it isn’t.

This post is filed in: Internet Explorer, Windows Tips And Tricks and has been viewed 12,027 views times.

Heroes’ PrimaTech Paper - Another Email It Pays To Network!

Kuribo Mario Hops For These Related Posts:


Kuribo Mario
  • Windows Tip: Shutdown Your Computer With The Command Prompt
  • View Samanathon.com From A Command Line Interface
  • Windows Tip: Start Your Day With A Fresh Computer, Step Five-B: Open Your Browser (Internet Explorer)
  • Windows Tip: Start Your Day With A Fresh Computer, Step Four: Automate A Reboot
  • Delete Internet Explorer 7’s Temporary Internet Files Automatically When It Closes


  • RSS feed | Trackback URI

    16 Comments »

    Comment by C More 2007-03-08 15:43:27

    MyAvatars 0.2

    Another great tip from Saman.
    I find myself looking forward to your tips.

    Comment by Saman 2007-03-08 22:22:13

    MyAvatars 0.2

    Great! I have some fancy Windows tips coming soon!

     
     
    Comment by Culture Shiok! 2007-03-22 10:13:14

    MyAvatars 0.2

    Err… I’ll just stick with my Firefox. :mrgreen:

     
    Comment by Natron 2007-03-28 13:46:49

    MyAvatars 0.2

    really like the “-extoff” that will come in handy. Since I am a windows developer, wont be getting away from IE anytime soon.

    Comment by Saman 2007-03-29 10:22:37

    MyAvatars 0.2

    Unfortunality, me too :sad:

     
     
    Comment by Natron 2007-03-28 13:50:08

    MyAvatars 0.2

    iexplore -k

    I will use this on my application demos from now on. Don’t forget that Alt & F4 will get you out of kiosk mode.

     
    Comment by Saman 2007-03-29 10:23:56

    MyAvatars 0.2

    Got point Nathan, I mention that in my Internet Explorer 7’s Kiosk Mode article, but forget to here!

     
    Comment by Imation 2007-09-24 03:26:10

    MyAvatars 0.2

    Hi,
    Is it possible to disable alt+f4 ?
    Other question: when i run iexplore -k from a logon .bat script i still have the three small butons on the right to close/reduce/restaure teh window. Allthough the tite bar is absent.
    Any idea where they come from?

    Comment by Saman Sadeghi 2007-09-28 19:53:57

    MyAvatars 0.2

    ALT-F4 is application specific - an application can be coded to use or ignore it - that being said, I haven’t been able to find a way to globally disable it.

     
     
    Comment by Beth Carmen 2007-10-01 15:54:29

    MyAvatars 0.2

    Thanks for the tips guys. As someone said I will just stick with firefox also. It seem Internet explorer is more pain than pleasure.

     
    Comment by Dryden 2007-11-16 04:44:47

    MyAvatars 0.2

    U can easily disable ALT+F4 with autoit. Simply make a script with an “ALT+F4″ hotkey, that leads to a function that does nothing!.
    And make it repeat itself.
    Easy as pie!
    I would give give u the entire code, but since I mada this more than a year go, I don’t have it anymore…

     
    Comment by Antonio 2008-03-26 07:06:13

    MyAvatars 0.2

    Hi,
    how can I remove the print dialog using IExplorer ???

    I need something like print.always_print_silent for Firefox, but I need to solve the same problem using IExplorer

    Thank you very much
    Antonio

     
    Comment by Frank 2008-04-14 07:04:14

    MyAvatars 0.2

    Looking to open IE in a specific resolution size (ie, window size 800×600)….find it hard to believe that you can tell IE the size to open using javascript but no way to do it via command line .

    Asking because I need the window to open in a specific size so automated testing scripts can be run on different machines.

    I guess I could work around it by navigating to a page that opens another window at a specific size but seems like a lot of steps to do something that I’d think would be supported already.

    Thanks
    Frank

     
    Comment by euhodos 2008-07-22 10:30:22

    MyAvatars 0.2

    Has anyone seen the “-Embedding” switch?

     
    Comment by Mahesh 2008-08-10 01:37:41

    MyAvatars 0.2

    When ever i start my IE 7, it always runs with add-ons diabled.Tools\Manage Add-ond options is greayed out…can you help me out ?

     
    Comment by Balakrishnan.S 2008-09-09 22:45:55

    MyAvatars 0.2

    Hi,

    I am looking for Print silent mode option in Internet Explorer 6.0 or 7.0 , How to enable this option. Please help me

    Thanks

     

    Leave a Reply

    Name (required)
    E-mail (required - never shown publicly)
    URI
    Your Comment (smaller size | larger size)
    You may use <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> in your comment.
    Heroes’ PrimaTech Paper - Another Email It Pays To Network!