Robertson-Ravo, Neil (RX) wrote:
> Nothing seems to work....either this:
>
> <cfexecute name="C:\Windows\System32\cmd.exe" arguments="DIR c:\"
> variable="foo">
>
> <cfdump var="#foo#">
>
> </cfexecute>

You need /C as the first argument to cmd.exe, it tells cmd to
close after running:
<cfexecute
name="C:\Windows\System32\cmd.exe"
arguments="/C dir c:\"
timeout="5">
</cfexecute>

Jochem
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to