Nov 7, 2009
Pages: 1, 2, 3, 4

Run Internet Explorer From Command Prompt - Windows Tips

free web hosting

Read Latest Entries..: (Post #33) by iGuest on Oct 15 2009, 10:32 AM.
explorer Run Internet Explorer From Command Prompt  Clicking is for monkeys. Various programming applications utilize "command line" functionality, including clicking. for instance, when writing a batch file to run every time windows logs on to counter-act the bane of my existence (the reset and locking of the homepage on my computer at work) by telling the command line to switch the registry values to allow homepage manipulation, and then open to a specified page, and then Opt...
read more.
Read the FIRST post of this Topic. - Express your Opinion! Contribute Knowledge :-).

Open Discussion > MODERATED AREA > The Internet > Web Browsers > Browser Tips and Tricks

Run Internet Explorer From Command Prompt - Windows Tips

delivi
Here's a simple way you can run Internet Explorer from the command line...

Create a new text file that contains the following line:

CODE
@start "" /b "C:\Program Files\Internet Explorer\iexplore.exe" %*


Rename the file e.bat

Copy this file to your profile folder

QUOTE
C:\Documents and Settings\your_account_name


Now you can open a command prompt window and type the following

CODE
e www.trap17.com


This will start Internet Explorer and open the URL for www.trap17.com

Comment/Reply (w/o sign-up)

OpaQue
If you simply type : http://www.trap17.com smile.gif It will also work. I would suggest readers to try out text based browsers like Lynx. smile.gif

Comment/Reply (w/o sign-up)

Sarith Pallewela
Nice Work finding that out but do you think it's really importan to start IE from CMD? i mean you can always just double-click on an icons! Forgive me if i'm wrong but i mean the Command line era is way gone! Get with it and just Click Away!!

I'm really sorry if i've got you all wrong but the way i see it. It's much easier to just click!

Comment/Reply (w/o sign-up)

Dawiss
Nice idea and finding delivi.. Once used Internet Explorer but now I stoped using it and started using Mozilla FireFox because i like it better.. but nice finding becaus eI have newer seen anything like that wink.gif

Comment/Reply (w/o sign-up)

catfish
http://www.fixmyxp.com/content/view/20/42

lots and lots of useful things smile.gif



would probably be a better idea for like games, so that you can open (par example) xfire and cs at the same time, with one click/a few keystrokes.

Comment/Reply (w/o sign-up)

Aton
QUOTE(from Dawiss @ Jan 19 2006, 12:29 PM)
Nice idea and finding delivi.. Once used Internet Explorer but now I stoped using it and started using Mozilla FireFox because i like it better.. but nice finding becaus eI have newer seen anything like that wink.gif
*



First of all, this is obvious.
Second, you can just type http://www.trap17.com
Third, you can do the same w/o the http://
To adress what i am apllying to You can use this in bat files for install/unistall scripts
If you have my "ultimate comand prompt utils" package you can type in
internet ie trap17
or if ie is default you can type in internet trap17.com
and if .com is default and you turned on short cmds then you can type in
i trap17 (or the bookmark name such as "i t17"

Yet another thing
For firefox you put
@start /b "firefox.exe" %*

For internet exlorer you only need to put in
@start /b "iexplore.exe" %*

There is a lot more that i can say but i don't have the time to put it all here

Notice from snlildude87:
Do not modify the quote block.

 

 

 


Comment/Reply (w/o sign-up)

Aton
QUOTE(Sarith Pallewela @ Jan 19 2006, 09:59 AM)
I'm really sorry if i've got you all wrong but the way i see it. It's much easier to just click!
*



I type fater then clicking, and sometimes wehn i write a installation batch file/script i use things like this.

Also note that you only need o create the e.bt file once

Notice from snlildude87:
Do not modify the quote tags.

*Credits reduced*

Comment/Reply (w/o sign-up)

delivi
Actually when I found this that it would be useful for some programmers who need to start IE from their apps. eg. Displaying CD/DVD contents on Autoplay. smile.gif




-----------------------------------------------------------------------------------------------
I've read many of u prefer clicking. But think what will u do when u mouse is eaten by the cat tongue.gif
-----------------------------------------------------------------------------------------------

Comment/Reply (w/o sign-up)

beeseven
You can start anything from the command line. Try going there and typing "mspaint.exe" or "calc.exe" or "notepad.exe" and see what happens. If you want you can open a specific file by adding a space then the file name (the complete path or relative path).

Comment/Reply (w/o sign-up)

sportytalk
Hehe, thanks for this nice tutorial on how to create a proper command line for accessing internet explorer. However, I prefer using a shortcut. I find it easier, plus you don't have to mess around using the 'run' dialog.
(I type the address in the address bar!).

Thanks for sharing nevertheless. It's always nice to know the other ways on how to run the same program smile.gif

Comment/Reply (w/o sign-up)

Latest Entries

iGuest
explorer
Run Internet Explorer From Command Prompt

 Clicking is for monkeys. Various programming applications utilize "command line" functionality, including clicking.

for instance, when writing a batch file to run every time windows logs on to counter-act the bane of my existence (the reset and locking of the homepage on my computer at work) by telling the command line to switch the registry values to allow homepage manipulation, and then open to a specified page, and then Option Explicit

Dim objShell
Set objShell = CreateObject("WScript.Shell")
ObjShell.Run "iexplore -nohome"
Wscript.Sleep 2000

objShell.SendKeys "TAB 2"

objShell.SendKeys "http://www.Google.Com"

Wscript.Sleep 500

objShell.SendKeys "{ENTER}"

Wscript.Sleep 500

objShell.SendKeys "%{HOME}"

wscript.Sleep 2000

objShell.Sendkeys "%{F4}"

WScript.Quit
Yes, sleep too is for monkeys.

-maxsquires

-reply by rohit

Comment/Reply (w/o sign-up)

iGuest
Links with &
Run Internet Explorer From Command Prompt

Not sure if ye can help but I am trying to open a batch of links that have a & in the link.
This is a comman symbol so not sure why this is not handled by the dos prompt.

Here is an example:

Run cmd
Start http://mail.Google.Com/mail/?hl=en&tab=wm
Exit

Thanks for any help,
David



Comment/Reply (w/o sign-up)

iGuest
can i also close the any web page directly through the cmd
Run Internet Explorer From Command Prompt

really, I tried the tricks that u have given about the internet explorer accessing through cmd. And it works. Now can u tell me is it possible to close the google like pages directly from the cmd? if yes then pls guide me. I m anxious for your reply.

-reply by Ravi Kant

 


Comment/Reply (w/o sign-up)

iGuest
Thank you for this information
Run Internet Explorer From Command Prompt

Brilliant,

Thank you very much for this extremely useful piece of information. 

I use Mozilla for all my web browsing but I have some icons on my desktop that open HTML servers for work. These do not open correctly in Mozilla so for just these I wanted them to open in Internet Explorer and your code does this without me having to either copy the link into the address bar or set IE as my default web page viewer.

Thank you

Craig



Comment/Reply (w/o sign-up)

iGuest
Thank you Delivi
Run Internet Explorer From Command Prompt

I have to open about 50 sites and do a silly task every other day, this really helped me. Thanks Delivi! Sara-reply by sara


Comment/Reply (w/o sign-up)



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

This textarea will convert to Rich-Text automatically (IE, Firefox, Chrome)

Pages: 1, 2, 3, 4

Searching Video's for run, internet, explorer, command, prompt, windows, tips
See Also,
advertisement


Run Internet Explorer From Command Prompt - Windows Tips

Affordable Web Hosting, Low cost Web Hosting - ComputingHost.com