ASP can't exec perl script
I get a bad format error with the below stuff. Yet the dos dir command works fine. I donât get it. The perl script works from the commandline and changes my file permissions. Can you help?
Dim Executor
Dim strResult
Set Executor = Server.CreateObject("ASPExec.Execute")
'Executor.Application = "cmd /K dir >C:\temp\log.txt"
Executor.Application = "C:\Inetpub\wwwroot\Test\GCI\scripts\permissions.p l"
Executor.Parameters = ""
Executor.ShowWindow = True
Executor.TimeOut = 120
strResult = Executor.ExecuteWinApp
Response.Write strResult
|