• Some users have recently had their accounts hijacked. It seems that the now defunct EVGA forums might have compromised your password there and seems many are using the same PW here. We would suggest you UPDATE YOUR PASSWORD and TURN ON 2FA for your account here to further secure it. None of the compromised accounts had 2FA turned on.
    Once you have enabled 2FA, your account will be updated soon to show a badge, letting other members know that you use 2FA to protect your account. This should be beneficial for everyone that uses FSFT.

Launching IE in test script

Beliskner

Weaksauce
Joined
May 1, 2003
Messages
72
I have an odd question,
I'm trying to create test scripts and I need to be able to launch or open Internet Explorer without using the start menu, clicking on the icon, ect. because I will be performing the test on several different machines that are set up differently (which includes the start menu, Classic vs. XP style) The operating systems will vary between 98, 2k, and XP. (primarily 2k and XP)

I have been trying to find a hotbutton command or something common that I can put in the script to execute the command to open IE. Does anyone know of any such command? :confused:

Oh and on a side note if it helps, the tool I am using is based on VB script.
 
if you do start >> run and type iexplore it opens, maybe that will be useful somehow?
 
compslckr said:
if you do start >> run and type iexplore it opens, maybe that will be useful somehow?
Excellent suggestion however thats one of the problems I'm running into. It works as long as "everyone's" start menu is the same. In other words, you know how in XP you can have the "pretty" start menu? If they have that, then it doesn't work. I was thinking there was a command or a key stroke that can be done to launch IE but i can't remember for sure what it is if there even is one.
:)
 
I'm not sure if this will work or not but give it a try. Put the following code into a bat file and maybe call it openie.bat...

Code:
:: openie.bat
:: Author: Sean Meyer
::
:: A script that simply opens up IE or whatever the default
:: Windows browser is.

@echo off

rundll32 url.dll,FileProtocolHandler

I tried this on my pc and it seemed to work.
 
Paithar said:
I'm not sure if this will work or not but give it a try. Put the following code into a bat file and maybe call it openie.bat...

Code:
:: openie.bat
:: Author: Sean Meyer
::
:: A script that simply opens up IE or whatever the default
:: Windows browser is.

@echo off

rundll32 url.dll,FileProtocolHandler

I tried this on my pc and it seemed to work.
Hmmm, hadn't thought about a batch script! (bonks head on desk) I've been playing with them for a while now as a hobby. LOL Let me try that.
 
Ok, I tried the script Paithar posted and it opened up Windows Explorer. While fiddling with it I remembered if I just use the "Start" command from a prompt it should open whatever I need it to. So I did the following

c:\> start iexplore.exe

which opened up Internet Explorer! (Yea for me!) So now all I need to do is get my script to access that batch file and I should be set. (Off to read up on VBScript!)

Thanks everyone for all your help!
 
You mean for a vbs file?

Dim Wshshell
Set WshShell = Wscript.CreateObject("Wscript.Shell")
Wshshell.Run "iexplore"
Set WshShell = nothing
 
Back
Top