By 14 Maggio 2012 0 Comments

Parametrizzare ASPEXEC per l’esecuzione di VBS

In Aspexec, un VBS deve essere eseguito nel modo seguente

Dim strResult As String
Dim Command As New AspExec.Execute()
Command.Application = “wscript”
Command.Parameters = ” c:inetpubwwwroottest.vbs”
Command.ShowWindow = False
Response.Write(“Attempting to execute ” & Command.Application & “<br>”)
strResult = Command.ExecuteWinApp
Response.Write(“The result of this call was: ” & strResult)

About the Author:

shared on wplocker.com