Velvet Star Monitor

Standout celebrity highlights with iconic style.

general

How to launch Internet Explorer from the command prompt?

Writer Matthew Barrera

I have to launch Internet Explorer from the DOS command prompt.

I have done it with Firefox, like:

cd \program files\mozilla firefox\
firefox

How to do the same with Internet Explorer?

0

10 Answers

Just type

c:\windows\servicepackfiles\i386\iexplore.exe

You can also use

"C:\Program Files\Internet Explorer\iexplore.exe"
7

Though you're asking for Internet Explorer: just in case you want to use the default browser, then use the start command:

start "" ""
5

You should cut its location to its original location, "C:\Program Files\Internet Explorer\", and then you can start it by using:

start iexplore
2

From anywhere:

start iexplore

ought to do the trick - actual path is unimportant. As long as the path exists - it'll run the executable. As a note: start firefox should work as well under a default installation.

If you want to run things without the path environment variable set - it's pretty easy to create a registry launch alias:

There should be an environment variable for the Program Files directory. On my install it is %ProgramFiles%. It may be localized for a given language into whatever the equivalent phrase/word is in that language. I could imagine that the Internet Explorer folder name might be localized as well. This should handle cases where Windows is installed to a drive letter other than C:

Thus, to start Internet Explorer from the command line (for me):

"%ProgramFiles%\Internet Explorer\iexplore.exe"

Remember the double quotes as there is a space in the command line!

1

Here's how I use it:

iexplore ""

Result: Opens IE and navigates to the URL.

The easy way to open internet explorer in the command prompt is by simply typing start iexplore.exe. You can also use the same method to open Chrome as well.

Don't forget to open command prompt in elevated mode.

0

The shortest way is to use start with exe name as 1º param.

  1. start "" iexplore // you may use start iexplore on most systems.
  2. start "" firefox
  3. start "" chrome

Yes! works.

But you have ask only about IExplorer. Following your code sample: cd \program files\mozilla firefox\ firefox

Same code with internet explorer equals to:cd \program files\internet explorer\ iexplore

When start iexplorer do not work for you, the best chance may be: "%programfiles%\internet explorer\iexplore" // you do not need to use uppercases

Depending on where your internet Explorer system folder files are located, the following opens up the yahoo main page for instance as it is:

"C:\Program Files (x86)\Internet Explorer\iexplore.exe" "http:\yahoo.com"

To force internet explorer to be used try this:

"C:\Program Files\Internet Explorer\IEXPLORE.EXE" -new ""

After several attempts, i found that you must type -new in between the iexplore and website. Hope this helps.

1

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy