Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to execute windows program from vbscript??

Status
Not open for further replies.

yogesh

Programmer
Jun 22, 2000
14
0
0
US
Hi guys , Can any one of u tell me how to execute windows executable(.exe) program from vb script .
I am want to execute Internet Explorer.
Help will be highly appreciated..
Thanks in advance
 
Hi,

Try this:
Code:
Set Command = WScript.CreateObject("WScript.Shell")
cmd = "c:\program files\Internet Explorer\iexplore.exe"
Command.Run (cmd)

Regards,
Luís Silva
 
Is there a way to specify the working path of that application?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top