Yes: <cffile action="READ" file="c:\somefile.htm" variable="strFile"> <cfoutput>#strFile#</cfoutput>
Then to write back to the file: <cffile action="WRITE" file="c:\somefile.htm" output="#strFile#" addnewline="Yes"> ----- Original Message ----- From: "Kris Pilles" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Friday, November 09, 2001 2:24 PM Subject: entire file output > Is there a way for cold fusion to output the entire contents of a .cfm or > html file. I want to take the contents of a file and output it ino exedit... > so that we can edit our static pages??? > > Any Ideas??? > > Kris Pilles > Website Manager > Western Suffolk BOCES > 507 Deer Park Rd., Building C > Phone: 631-549-4900 x 267 > E-mail: [EMAIL PROTECTED] > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

