create a variable to hold the contents of the file, when you write the file you output the contents of the variable.
ie. <cfset cdf = "1,2,3,4,5,6,7"> <cffile action="WRITE" file="filename.cdf" output="#cdf#"> You'll probably need to know the end of record character, not sure what it is. HTH Eric From: Thane Sherrington <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: CF-Talk <[EMAIL PROTECTED]> Subject: CFFile Questions Date: Mon, 21 Oct 2002 11:48:04 -0300 How could I use CFFile to create a command delimited file that would be then downloaded to the client's computer for use as a mail merge file for WordPerfect or Word? T ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm

