freelanceprogrammers.org Forum Index » Cold Fusion
Re: Using <cfexecute
Joined: 05 May 2005
Posts: 1
Re: Using <cfexecute
Hi all,
I`m trying to run this command via <cfexecute but I get an error in the
output file. This runs just fine from a telnet prompt typed in manually
but fails within CF. Why? How do I get this to work?
<cfexecute name = "find.exe"
arguments = "D:/reports/aclg -name `*.111` -exec grep `187;` `{}`
; -print"
outputFile = "E:Inetpubwwwrootinterfacexxx.txt"
timeout = "1000">
</cfexecute>
This is the error in the log file.
File not found - `*.111`
Joined: 02 May 2005
Posts: 11
Re: Using <cfexecute
Your going to have to make a findrpt.cmd batch file.
find D:/reports/aclg -name `*.111` -exec grep `D:/reports/aclg -name `*.111`
-exec grep `187;` `{}` ; -print
and then:
<cfexecute name="pathtofindrpt.cfm" outputFile="E:
Inetpubwwwrootinterfacexxx.txt" timeout="30">
I changed the timeout to 30 seconds, Even if your first attempt listed below
actually did work, I don`t know of all that many browsers (much less users)
that would wait 1000 seconds for a page request to process. without timing
out.
Fred T. Sanders
On Thursday 05 May 2005 12:36, mcolav wrote:
> Hi all,
>
> I`m trying to run this command via <cfexecute but I get an error in the
> output file. This runs just fine from a telnet prompt typed in manually
> but fails within CF. Why? How do I get this to work?
>
> <cfexecute name = "find.exe"
> arguments = "D:/reports/aclg -name `*.111` -exec grep `187;` `{}`
> ; -print"
> outputFile = "E:Inetpubwwwrootinterfacexxx.txt"
> timeout = "1000">
> </cfexecute>
>
> This is the error in the log file.
>
> File not found - `*.111`
>
>
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
All times are GMT
Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Freelace Website Designer - Customer web design and software building.
China Wholesale - Electronics Products
Character Studio - Tutorials and Help
China Wholesale - Electronics Products
Character Studio - Tutorials and Help







