-----Original Message-----
From: Stephen Moretti [mailto:[EMAIL PROTECTED]
Sent: Friday, May 06, 2005 4:45 AM
To: CF-Newbie
Subject: Re: Using CFEXECUTE to run a find & grep on server
macromedia wrote:
>I have the following command which runs fine at a telnet prompt on the
>server. I would like to run it in my web application using CFEXECUTE
but
>I can't get it to work and I'm not sure why?
>
><cfexecute name = "find.exe"
> arguments = "D:/mywork -name '*.nfo' -exec grep '123;' '{}' \;
>-print"
> outputFile = "E:\results.nfo"
> timeout = "1000">
></cfexecute>
>
Is either of the drives a network share?
Does the user under which CF is running have access to the D and E
drives on your server?
Yes...the use has access to these drives. This is the error I get in the
output file when I run the CFEXECUTE.
File not found - '*.nfo'
Stephen
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble
Ticket application
http://www.houseoffusion.com/banners/view.cfm?bannerid=48
Message: http://www.houseoffusion.com/lists.cfm/link=i:15:883
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/15
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:15
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54