Click to See Complete Forum and Search --> : Running executable from VBScript on Solaris


spin_shekhar
September 12th, 2001, 12:57 AM
Hi All,

We can run external executables from VBScript on Windows
NT by first doing a createObject ("WScript.Shell") and
then Object.Run("calc.exe")

I want to do the same thing but on Solaris 2.5+ platforms.
I installed Internet Explorer 5.0 version for Solaris
(which now acts as an ActiveX Scripting Host and now I
am able to run simple VBScript programs). I can even
make a call to CreateObject but I don't know what
type of object I should create to be able to run an
external executable (say a.out). Bottomline is : I
have not been able to make a successful call to
CreateObject().

If I am able to find something similar to WScript.Shell
on Solaris, then my problem is solved. But it may be
the case that it is not necessary to use something like
WScript.Shell; there can be some other way to run a
executable without creating a shell; my main intention
is to run a.out from a VBScript program. If you have
any idea regarding that, please let me know.

Thanks & Regards,
shekhar