
invoke a windows application from VBScript
Is MyProgram.exe a console mode program or one that displays any kind of UI () or expects interactive user input?
Is it sensitive to the "current directory"?
Can it successfully run under the IUSR_machinename account used by IIS for anonymous access?
Is there any other way to accomplish what MyProgram.exe does using ADO?
--
Michael Harris
Microsoft.MVP.Scripting
--
Please do not email questions - post them to the newsgroup instead.
--
Quote:
> Hallo..
> i try to invoke a windows application from an ASP page with the following
> code:
> Set WshShell = CreateObject("Wscript.Shell")
> WshShell.Exec("C:\MyFolder\MyProgram.exe")
> but the program cannot start.
> if i try with the same code in a script callde 'MyScript.wsf' and i try from
> the command line with Wscript MyScript.wsf ... the program
> 'MyProgram.exe' start correctly.
> Can anyone help me?
> Tanks in advance
> Massimo