Jump to content

Starting the default browser from the command line


soporific

Recommended Posts

i can't really add much more to the title and sub ... it would make my URL links in AP friendly to those who may have gone to the trouble of going to the point of removing or moving Internet Explorer so it can't be run from its normal location.

thanks in advance to you helpful people ... sop.

Edited by soporific
Link to comment
Share on other sites


From the horse's mouth [scroll down all the way to the bottom]:

http://www.microsoft.com/technet/prodtechn...rk/appxc_c.mspx

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 or full-screen mode by adding a parameter to the Internet Explorer executable file name by using the following syntax:

iexplore.exe -k

The following is a list of parameters you can use for starting Internet Explorer:

-new = Launches the browser window in a new browsing process.

-remote = Starts a remote instance of Internet Explorer on UNIX platforms only.

-k = Starts the browser in Kiosk or full-screen mode.

-nohome = Starts Internet Explorer without its home page.

-embedding = Starts the Web browser control (no home page is displayed).

-channelband = Displays the channels folder.

-e = Starts Internet Explorer Help on UNIX platforms only.

-v (also -version) = Can be used to specify the version on UNIX platforms only.

Whenever doing this:

iexplore "complete_URL_name"

make sure the URL name is typed between quotes [as shown above], expecially if URL name contains any spaces.

To use iexplore with command line params from within a DOS BATch file, make sure you use START /W if other commands follow, to make sure they execute in sequence, and that iexplore command completes before next one starts [example]:

start /w iexplore "http://www.msfn.org/board/"

HTH

Link to comment
Share on other sites

Why the IEXPLORE suggestions? The thread starter said "default browser".
Because of soporific's 1st post:
i can't really add much more to the title and sub ... it would make my URL links in AP friendly to those who may have gone to the trouble of going to the point of removing or moving Internet Explorer so it can't be run from its normal location.

thanks in advance to you helpful people ... sop.

HTH
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...