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 run a external exe from a vbs login script

Status
Not open for further replies.

vmaxdlx

Technical User
Jan 13, 2005
22
US
I am not a programer, but have used this login script as a base dor my login script.


But I need to run an external program from with in this script. How can I do this?

Thanks
 
Hi vmaxdlx,

set WshShell = CreateObject("WScript.Shell")
WshShell.Run "1.exe"

The above assumes the exe resides in the same directory as the script, if that is not the case you will need to specify this. Hope this helps.

Adam
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top