Well, I finally figured it out. Use Absolute Paths EVERYWHERE with <cfexecute>.

For future reference:

The file that is being referenced must also contain absolute paths. I don't 
know why I didn't think of that before.

I am actually now calling a BAT file with <cfexecute> that runs the 
executable and feeds it the argument:

<cfexecute name="d:\webserver\client\engine\app.bat">
</cfexecute>

BAT file contents::

d:\webserver\client\engine\app.exe -run 
d:\webserver\client\engine\client_file.lis

All file references within "client_file.lis" must also be absolute paths 
(which was my problem all along).

Thanks to everyone who helped out!

Mike





At 9/4/2002 03:06 PM, you wrote:
><br>
>Ping results...
><br>
>
><cfflush>
>
><cfflush interval="5">
>
><cfexecute name="C:\Windows\System32\Ping.exe" arguments="-n 3
>ilovecheese.com" timeout="5">
></cfexecute>
>
>
>Keep in mind that your windows directory might be different, add output file
>param if you want...
>
>
>-----Original Message-----
>From: Web Master [mailto:[EMAIL PROTECTED]]
>Sent: Wednesday, September 04, 2002 2:44 PM
>To: CF-Talk
>Subject: Re: <cfexecute> problem
>
>
>Is there a simple piece of test code someone can provide that is known to
>work? Perhaps executing a PING and logging it to a file (which I just tried
>and I cannot get that to work either)?
>
>Thanks,
>
>Mike
>
>
______________________________________________________________________
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to