Hi,

<cfexecute  name="cscript.exe" arguments="D:\wwwroot\test\connect.vbs"
></cfexecute>

works for me well on CF5 (even in a shared isp environments!). I use it to
even create virtual directories etc

try a very basic bat file or vbs that doesn't do much to see if it is
permission related, I assume you have tested the vbs file outside of cf and
it works.

Try running the cf application service in an account other the the local
system and see if that fixes it - then you know it is permission related.

Elliot


"Zach Stone" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
>
> Hi all,
>
> I wonder if anyone tried this before... we are using CFEXECUTE on CFMX
> Server to run a batch file on the same server where the batch file
> triggers a [.vbs] file that does another process...
>
> Here are the various trials that we did until now and none of them seem to
> execute the batch file. I wonder if this is an issue in CFMX or somehow
> permission related !!!
>
> Thank you
>
> <cfexecute name="D:\wwwroot\test\test.bat"  timeout="60"></cfexecute>
>
>
> <cfexecute name="C:\WINNT\system32\cmd.exe"
>         arguments="D:\wwwroot\test\test.bat"
>         timeout="60">
> </cfexecute>
>
>
> <cfexecute  name="C:\WINNT\System32\cscript.exe"
arguments="D:\wwwroot\test\connect.vbs"  timeout="60"></cfexecute>
>
>
> <cfexecute  name="C:\WINNT\System32\WScript.exe"
arguments="D:\wwwroot\test\connect.vbs" ></cfexecute>
>
>
> <cfexecute name="cscript D:\wwwroot\test\connect.vbs"></cfexecute>
>
>
>
>



---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MX Downunder AsiaPac DevCon - http://mxdu.com/

Reply via email to