source: http://www.vandyke.com/support/securecrt/004.html You cannot run programs directly in an ActiveX script however if you have Microsoft’s Windows Script Host (WSH) installed you can tell WSH to run it for you. The following VBScript statements use WSH to start Internet Explorer with a command-line argument: Dim shell Set shell = CreateObject(“WScript.Shell”) shell.Run “””C:\Program Files\Internet Explorer\IExplore.exe””http://www.vandyke.com“ Here’s the [...]
Archive for the ‘javascript’ Category
How can I run a program in a HTML script?
Posted in javascript, web on May 10, 2010 | Leave a Comment »