Have the command line switches been dropped in IE7 ?

Discussion in 'Internet Explorer' started by Peter Horsley, Jun 1, 2006.

  1. I have used a shortcut to Internet Explorer with the following Target line:
    "C:\Program Files\Internet Explorer\iexplore.exe" -NoHome
    It uses the command line switch "-NoHome" which makes IE come up faster and
    not waste
    time bringing up the home page.
    Having now installed IE 7 beta this no longer works and I can find no
    listings of any command line stitches for IE 7.

    Regards

    Peter phorsley@<NO SPAM>melbpc.org.au
    __________________________________________
     
    Peter Horsley, Jun 1, 2006
    #1
    1. Advertisements

  2. Peter Horsley

    Alan Edwards Guest

    Alan Edwards, Jun 1, 2006
    #2
    1. Advertisements

  3. Yes - but isn't this:
    msnews.microsoft.com/microsoft.public.internetexplorer.general

    i.e. the right newsgroup? I notice other posts re: IE7 in this group!

    Regards

    Peter phorsley@<NO SPAM>melbpc.org.au
    __________________________________________
     
    Peter Horsley, Jun 1, 2006
    #3
  4. Peter Horsley

    Alan Edwards Guest

    Oops!
    Sorry about that. A Senior moment....

    ....Alan
     
    Alan Edwards, Jun 1, 2006
    #4
  5. Peter Horsley

    Jinseng Guest

    I just tried that and it worked for me (sort of). When I do that to open IE,
    I get the default command bar, not my customized one. So it's Buggy.
     
    Jinseng, Jun 1, 2006
    #5

  6. Be more specific when describing your symptoms please
    and also state exactly what behaviour you were expecting.

    In previous versions of IE after -nohome was used without other operands
    on the command line it used to appear to have stopped in the middle of loading.
    One symptom of this was that the user's toolbar customizations were not done.
    When I pressed Esc (or clicked on the Stop button) the Home page would
    continue loading normally, including the toolbar customizations.

    In IE7 the main difference (bug/quirk) that I note is that I can't press Esc
    to make it continue loading. Clicking on the Stop button does continue
    loading (e.g. I can see my toolbar customizations) but instead of seeing
    my Home page it resolves unexpectedly (but just as reasonably)
    to navcancl.htm.

    However, I suspect that this case was undefined so I'm
    really not concerned that the behaviour has been changed.

    Try making your shortcut to About:Blank or About:Tabs
    instead?


    Robert Aldwinckle
    ---
     
    Robert Aldwinckle, Jun 1, 2006
    #6
  7. This has been a well known quicker way of starting up IE 6 when you don't
    want to see your Home Page.
    The set of command line switches for IE6 is documented by Microsoft. (see:
    http://support.microsoft.com/kb/q178058/)

    Under IE 6 using the shortcut with: "C:\Program Files\Internet
    Explorer\iexplore.exe" -NoHome
    makes IE load faster and not delay bringing up the Home Page.
    The address bar is empty which allows you to immediately type in an address
    or select from your favourites.
    Using the same shortcut after installing IE7 just does not work and doesn't
    even bring up IE7 with your home page.
    I can not find any documentation associated with IE7 that indicates that the
    IE6 command line switches have been continued with IE7.


    Regards

    Peter Horsley phorsley@< NO SPAM >melbpc.org.au
    _________________________________________________
     
    Peter Horsley, Jun 2, 2006
    #7
  8. Peter Horsley

    Shannon Guest

    The command line option you indicated worked fine for me.... I just
    cut/pasted the line you indicated and it worked without any hitch.
     
    Shannon, Jun 2, 2006
    #8
  9. ....

    And your toolbar state is?

    This is where I have to press Stop (or formerly could press Esc)
    to see my toolbar customizations.

    I can't remember if IE would accept any typing in the Address bar
    in previous versions at this point.


    You're still not giving us a clear idea of what you are seeing then.


    FWIW I suspect one essential reason for the existence
    of the -nohome switch would be that scripts were once allowed
    on the command line. So then if a script would also choose
    a page to display it would be clearer and perhaps more efficient
    that the script was not to be applied to a window which was
    showing a normal home page. If the command line already
    explicitly provided an alternate file to be opened instead I can't see
    any need for the switch.

    An example of this was Helmut Rohrbeck's suggestion
    for doing specific window sizing and positioning using Javacript
    in shortcuts:

    <example>
    "C:\Programs\Internet Explorer\Iexplore.exe" javascript:resizeTo(900,720);window.moveTo(450,360)
    </example>

    Presumably this would apply to the home page
    and if some specific page had been opened by a different script
    -nohome could be used to avoid any confusion about what all
    IE should be doing. In this particular example I would expect
    it to open my Home page in a resized and repositioned window.

    Unfortunately, this idea doesn't work any more in IE7.
    So the issue of -nohome with or without it doesn't matter.

    Repeat:
    Have you tried using About:Blank or About:Tabs instead?


    Hmm... I have just found a keystroke which will get
    you what you want with -nohome: F6

    Notice? The icon in the Address bar is the busy ring.
    Pressing F6 adds a (flashing) input insertion indicator
    beside it, where you can type (as you claimed you could.)
    (F6 switches keyboard focus among frames
    and back to the Address bar.)


    HTH

    Robert
    ---
     
    Robert Aldwinckle, Jun 2, 2006
    #9
  10. The nohome window comes up with toolbars and is completely the same as the
    other one that comes up with my homepage.
    It's just that the nohome one comes up quicker because it doesn't have to
    wait to load a homepage and having a blank address bar you can immediately
    type in there or select a favourite or link.
    I don't know whether the command line switches are a fully implemented part
    of IE6 but have assumed they are and would have thought that Microsoft would
    have also included them in IE7. This was really what my question was.
    Whether anyone knew specifically if IE7 had command line switches or whether
    they knew that for some reason Microsoft has specifically dropped them in
    IE7.
    I'm not sure how you mean to use these? I just want the blank browser
    page to come up as I said before as it does with nohome because it's faster
    than the standard one (C:\Program Files\Internet Explorer\iexplore.exe")
    which takes longer to become usable because it always loads the home page.
    Is the About:Blank or About:Tabs a command line switch?
    This does not do what nohome does. In my case with F6 it just the cursor
    between the address bar and the first link on the page if one exists.
     
    Peter Horsley, Jun 2, 2006
    #10
  11. Are you sure you are saying this works in IE7 beta for you or are you saying
    it works in IE6 as it does for me?
     
    Peter Horsley, Jun 2, 2006
    #11

  12. Then I suspect you have not customized yours?
    I have removed Help which is completely redundant.
    After -nohome Help initially appears.
    After pressing Stop Help goes away.
    This is exactly the same sort of behaviour which has always
    been apparent to me with -nohome in other versions of IE.


    You still can. To type there you just need to first get keyboard focus
    which clicking, Alt-d, F6 or F4 will do.


    I was addressing your example-- nohome
    which is obviously still working mostly the same as it ever did.


    About:Blank and About:Tabs are internal pages.
    You can set your Home Page to be "Blank" and About:Blank is what is used.
    Similarly if you are using tabbed browsing in IE7 and you want a new tab
    (e.g. by pressing Ctrl-t) a new tab comes up as About:Tabs
    But you can also use those page names in shortcuts or enter them
    in the Run... dialog.


    Exactly. Did you try typing then?


    Robert
    ---
     
    Robert Aldwinckle, Jun 3, 2006
    #12
  13. Peter Horsley

    Shannon Guest

    Hi Peter,

    I'm saying it works in IE7b2.

    You might have to modify your object properties for IE7 as it doesn't
    install properly (documented error). Read the posting below and follow the
    instructions for a fix. After you impliment this, your command lines
    switches that functioned in IE6 will do the same in IE7.

    ------------------Bug Fix OLE URL Properties--------------------
    Issue: IE7b2 7.0.5346.5 does not properly install the OLE URL properties on
    all platforms during installation

    Symptoms: Internet Explorer will intermittently crash or shut down without
    warning when clicking on a URL. The crash is not usually URL specific, but
    the crash will usually force ALL instances of IE to simply close instantly.
    [or command line executes won't function as they should]

    Fix: A manual fix for this is easily accomplished by editing the OLE
    properties of URL.

    (Fix) Process Action:

    1. Open the Control Panel, and then open Folder Options.

    2. Click on the tab, "File Types"

    3. Scroll down to the URL:Hypertext Transfer Protocols, click (a) Advanced
    and then (b) Edit.

    4. Ensure the following is in the "application used to perform action box"
    (copy/paste the line below into your box):

    "C:\PROGRAM FILES\INTERNET EXPLORER\iexplore.exe" -nohome

    5. Check the "Use DDE" box and place this under the DDE message (copy/paste
    the line below into your box):

    DDE should be set to: "%1",,-1,0,,,,

    6. The "Application" box should say:

    IExplore

    7. The "DDE application not running" should be blank

    8. The "Topic:" box should be:

    WWW_OpenURL

    9. Click on OK until the box closes, and restart the computer.

    Bug Fix researched by: "Sandi Hardmeier - MVP" <>
    ------------------Bug Fix OLE URL Properties--------------------
     
    Shannon, Jun 4, 2006
    #13
  14. Thanks for your help Shannon.
    I have IE 7 beta 2
    In my File Types list I don't have one URL:Hypertext
    I only have URL in the list.
    I tried creating one URL:Hypertext but that didn't work.
    And I was unsure about changing URL as I didn't want to muck it up.

    Regards

    Peter phorsley@<NO SPAM>melbpc.org.au
    __________________________________________


     
    Peter Horsley, Jun 7, 2006
    #14
  15. Hi Robert, Thanks for your continuing interest.
    You will see from the other part of the original news thread that I think
    Shannon has found my problem.
    There need to be a bug fix for IE 7 beta 2.
    About:Blank and About:Tabs both do work in IE7 b2 but do not have an empty
    address bar like nohome did when it was working in IE6
    To my original question "is there any documentation about command line
    switches for IE 7" no has yet answered.
    Further searching of Microsoft Technet specifically about IE6 has given me
    this link:
    http://www.microsoft.com/technet/prodtechnol/ie/reskit/6/part7/p07ie6rk.mspx?mfr=true

    Which gives:
    -------------------------------------------------------------------------------------------------------------------------
    Command-Line Parameters for Starting Internet Explorer
    In addition to using command-line switches to customize Setup, you can use
    command-line parameters to customize how Internet Explorer is started. For
    example, you can start Internet Explorer in Kiosk (full-screen) mode by
    adding a parameter to the Internet Explorer executable file name, as shown
    in the following syntax:

    /path/Iexplore.exe -k
    The following table identifies the parameters that you can use for starting
    Internet Explorer.

    Parameter Description
    -new
    Specifies that the browser window will start a new browsing process.

    -k
    Specifies that the browser will start in Kiosk (full-screen) mode.

    -nohome
    Specifies that the browser will start without its home page.

    -embedding
    Specifies that the Web browser control will start if no home page is
    displayed.

    -channelband
    Specifies that the browser will display the Channels folder.


    ------------------------------------------------------------------------------------------------------------------------
    There is no mention of About:Blank or About:Tabs !

    I just want two icons on my desktop, one to bring up IE7 with my home page
    and another to bring up IE7 with an empty address bar as the -nohome
    parameter did with IE6.
    If I can sort out correcting the bug suggested by Shannon then probably it
    can be said:
    *** "A bug free IE 7 will have the command line switch - nohome working as
    it does for IE6". ***

    Regards

    Peter Horsley phorsley@<NO SPAM>melbpc.org.au
    ________________________________________________
     
    Peter Horsley, Jun 7, 2006
    #15
  16. You do have "URL:HyperText Transfer Protocol"!
    It's listed with those that have a file association of (NONE), probably on
    the second page of File Types
     
    Frank Saunders, MS-MVP OE, Jun 7, 2006
    #16
  17. No, Kai. I am sorry you seem to have missed the point.
    To spell it out clearly. This "hint" is what I found in a magazine many
    years ago which applied and works with IE6.

    You have two icons on your desktop for two alternate uses of IE.
    The first is the default icon for IE which brings up your selected home
    page, it has the normal target line: "C:\Program Files\Internet
    Explorer\iexplore.exe"
    The second icon's target line is: "C:\Program Files\Internet
    Explorer\iexplore.exe" -nohome
    You click the first when you want to view your home page before going on to
    look at other web pages.
    You click the second when you want to immediately look at other web pages
    and skip looking at your home page.
    The second one *does* come up faster and with an *empty* address line which
    has skipped loading your home page.
    You can either type in a new web page's address or select from your
    favourites. You *do* get to the new web page quicker than with the first
    default one which has to load your home page which in this case you really
    didn't want to see.

    Shannon's cure for a bug in IE7 may have been what would make -nohome work
    with IE7 but I couldn't successfully enter the necessary details for the
    object properties.

    As I said "-about:blank does *not* give you a empty address bar."
    Using the second icon with about:blank you have to remove about:blank before
    you can type anything which you don't have to do if you use -nohome.
     
    Peter Horsley, Jun 10, 2006
    #17

  18. Make a shortcut with this tartget:
    about:blank
    IE7 opens a blank window with about:blank highlighted in the address bar.
    Just paste in or start typing your URL and about:blank gets over written.
     
    Frank Saunders, MS-MVP OE, Jun 10, 2006
    #18
  19. Peter Horsley

    Shannon Guest

    Hi Peter,

    Do you have a file type labeled URL and Internet Shortcut? If so, you can
    try those instructions with that one.

    The problem is that IE7's installer does "not" properly install the URL
    properties. It's a bug in the install process, something which is typically
    overlooked during the testing phase of the application (India is contracted
    for the testing and the contract didn't include the installation process as
    part of the testing because it's a public "beta"). As a result of the
    problem, many people are experiencing the ramifications or ripples which
    effect the various computer setups differently.

    From scratch, one could install IE6x, then IE7b2, then follow those
    instructions I provided to remedy the problem.

    Microsoft is aware of the installation error, and it will be addressed in
    the next Beta due out in a few weeks, possibly as late as the 1st of July.

    Shannon

     
    Shannon, Jun 10, 2006
    #19
  20. Thank you Kai, I am learning from you and Frank Saunders.

    In my case clicking the icon with -nohome just does nothing. No IE window
    comes up at all, just nothing happens!
    So there must be something else wrong like the bug Shannon mentions which I
    haven't been able to cure so far.
    It's worth reading Shannon's posting of 11/06 with further information about
    the bug and the correction in the next beta.

    I will follow your and Frank's advice and use -About:Blank for now.

    Thank you again.

    Regards

    Peter Horsley phorsley@<NO SPAM>melbpc.org.au
    ________________________________________________
     
    Peter Horsley, Jun 11, 2006
    #20
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.