To make a new file use... <cffile action="write"... /> But if you already have a template, you can just copy it to the new directory with... <cffile action="copy"... />
-----Original Message----- From: Daniel Kessler [mailto:[EMAIL PROTECTED] Sent: Thursday, November 09, 2006 8:35 AM To: CF-Talk Subject: duplicate a file I'm creating directories using <cfdirectory action = "create" directory = "#currentDirectory#" >. I want to then put in a default index page so that the directory isn't browsable. I can create a web page that will work as tempate for the index file, but I'll need to create/copy one to the directory. Any suggestions on a process? I'm at a loss here. Using CF7. thank you. -- Daniel Kessler College of Health and Human Performance University of Maryland Suite 2387 Valley Drive College Park, MD 20742-2611 Phone: 301-405-2545 http://hhp.umd.edu ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:259766 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

