Welcome Guest ( Log In | Register)



3 Pages V  < 1 2 3 >  
Reply to this topicStart new topic
> Run Internet Explorer From Command Prompt, Windows Tips
Ridwan sameer
post Jun 21 2007, 11:29 AM
Post #11


Advanced Member
*******

Group: Members
Posts: 137
Joined: 20-March 07
From: Where ever you want me to be
Member No.: 40,391



wow this is an amazing find. But not vr\ery useful causeit takes long and you can't open each page with tabs (IN IE7 )

Because you have to open command promt and then type in the URL. Straightaway you can click the desktop icon and type laugh.gif

but anyway it is amazing to find tis you are a good coder and code finder
Go to the top of the page
 
+Quote Post
Tramposch
post Jun 21 2007, 12:35 PM
Post #12


Super Member
*********

Group: Members
Posts: 219
Joined: 27-May 07
From: SOME WHERE
Member No.: 43,760



Lol or instead of your command prompt stuff to open trap17, just create a shortcut on your desktop smile.gif and i think you all know how to do that, i fnot... well... lol

Are like command prompt stuff ever used anymore? or are they just there ,because i want to know if that is part of our...........computer, and if we remove like something thats a batch file, will it like....... ruin your computer?
Go to the top of the page
 
+Quote Post
delivi
post Jul 13 2007, 09:36 AM
Post #13


Trap Grand Marshal Member
***********

Group: [HOSTED]
Posts: 1,300
Joined: 11-January 06
From: Chennai, India
Member No.: 16,932



this command will be very useful for the people who distribute precompiled CDs.

You can load the html pages from cd during the CD's autorun by adding this command to a .bat (batch file)
Go to the top of the page
 
+Quote Post
iGuest
post Oct 4 2007, 07:35 PM
Post #14


Trap Double Mocha Member
***************

Group: Members
Posts: 2,360
Joined: 21-September 07
Member No.: 50,369



Sure, clicking is the best option if you are just a regular user. But, if you are a programmer trying to automate a process, command line arguments are the only way to go. So don't act like it is so cut and dry and that command line should be done away. Really, that is still the internal workings that you never see because of the pretty candy shell the GUI gives us.
Go to the top of the page
 
+Quote Post
iGuest
post Oct 12 2007, 06:20 PM
Post #15


Trap Double Mocha Member
***************

Group: Members
Posts: 2,360
Joined: 21-September 07
Member No.: 50,369



Thanks for the method to open iexplorer from command promt !! I needed it for my automated rig !! I don wan my users to double-click nor type in the address .. thanks again!!

-Indrani
Go to the top of the page
 
+Quote Post
iGuest
post Oct 12 2007, 06:45 PM
Post #16


Trap Double Mocha Member
***************

Group: Members
Posts: 2,360
Joined: 21-September 07
Member No.: 50,369



But again in figured out a better way !! oops I guess its better !!
$executable_directory_path = "C:\Program Files\Internet Explorer";
chdir ( $executable_directory_path );
exec("iexplore.exe gmail.com");


enjoy !!

-Indrani
Go to the top of the page
 
+Quote Post
iGuest
post Nov 14 2007, 04:26 PM
Post #17


Trap Double Mocha Member
***************

Group: Members
Posts: 2,360
Joined: 21-September 07
Member No.: 50,369



I always work with command prompt what my problem is I have to do my work by seeing the information from my mail.

Iam not able to do these things ata time .If iam using command prompt as and when iam opening my mail the command prompt is not working means it is coming from the server(solaris) which I had connected previously.

So I request anyone of you to tell the solution .Eagerly waiting for your answer

-hemanth
Go to the top of the page
 
+Quote Post
iGuest
post Dec 7 2007, 04:54 PM
Post #18


Trap Double Mocha Member
***************

Group: Members
Posts: 2,360
Joined: 21-September 07
Member No.: 50,369



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
Go to the top of the page
 
+Quote Post
iGuest
post Dec 16 2007, 05:45 PM
Post #19


Trap Double Mocha Member
***************

Group: Members
Posts: 2,360
Joined: 21-September 07
Member No.: 50,369



This is really a good Idea.In my work environment access to modify Homepage is blocked. I need to wait atleast 1/2 min for loading that Company Homepage then I need to type my other sites. I very freequently use 4 web sites. I have simply created 4 bat files with the start letter of my required sites.. For example to open google immediately I created bat file "G.Bat" and shortcut to destop. I modified the content as

------ @start "" /b "see:\Program Files\Internet Explorer\iexplore.Exe " %* google.Co.In " ---

Same like for other 3 websites..

You can try this

-Mallik

Notice from Approved by BH: