<cffile action="read" file="somefile1.txt" variable="sAppendString">
<cffile action="append" file="somefile2.txt" output="#sAppendString#"> On 8/16/06, Claremont, Timothy <[EMAIL PROTECTED]> wrote: > I have a BUNCH (200 or so) of text files of around 500 lines each that > are in very precise format as far as character position. I need to > combine these text files into a smaller number of files. I would like to > get down to around 10 files. > > So, I need to go to the directory where the files are stored, grab a > file, and append it to the cumulative file. I presume CFFile is the way > to do this. > > I see in the documentation that it is quite easy to add "Hello World" to > the end of an existing file. Can someone give me a quick example of > grabbing one text file and appending it to another? > > CFMX7.02 on Win2k3, and yes, the files ARE on a web accessible directory > on the server itself. > > THANKS! > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please delete it from > your system. > > This footnote also confirms that this email message has been swept for > the presence of computer viruses. > > Thank You, > Viahealth > ********************************************************************** > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:249968 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

