
November 4th, 2009, 03:08 PM
|
|
Registered User
|
|
Join Date: Nov 2009
Posts: 1
Time spent in forums: 2 m 16 sec
Reputation Power: 0
|
|
|
VBScript - General - Error - 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.pl "
Executor.Parameters = ""
Executor.ShowWindow = True
Executor.TimeOut = 120
strResult = Executor.ExecuteWinApp
Response.Write strResult
|