I was hoping somebody could show me how to do this. Thanks

>If the files are big this will eat memory .
>
>Consider using the underlying OS to dfo this sort of thing.
>
>use cfexecute to run a batch file for instance, e.g.
>
>COPY SupportiSearches*.log destinationfile.log
>
>That should do exactly what you want, very, very quickly!
>
>-----Original Message-----
>From: Allan Clarke [mailto:[EMAIL PROTECTED]
>Sent: 15 October 2003 10:12
>To: CF-Talk
>Subject: CFFILE Question
>
>
>Hello Everybody,
>
>I want to see the contents of a directory on the
>server. I know there is a function in CF to do this,
>GetTemplatePath, cfdirectory or something (not sure).
>The directory path will not change. I want to first
>get to the directory and then find all log files in
>the directory beginning with "SupportiSearches". There
>are going to be more than one file with that name. The
>idea is to append the contents of log files into one
>log file.
>
>To give you a better understanding, take for instance
>there are 2 log files under the directory called:
>Support2003-09.log and Support2003-08.log. I want to
>read the contents stored in these files, both files
>are identical in that the content is comma separated
>and both files have the same no of columns. I want to
>read the contents of the files using cffile and append
>the contents stored in the files in one file. I hope
>this is making sense. Can somebody please show me how
>to do this.
>
>Best Regards
>Allan
>
>__________________________________
>Do you Yahoo!?
>The New Yahoo! Shopping - with improved product search
>http://shopping.yahoo.com
>
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to