<cfdirectory action="READ" directory="path-to-your-directory" name="dir">
<cfdump var="#dir#"> Adrian www.adrianlynch.co.uk -----Original Message----- From: Cherrio [mailto:[EMAIL PROTECTED] Sent: 08 September 2008 08:54 To: CF-Talk Subject: String manipulation hi, am struggling with string manipilation! please help. i have a folder full of files all beginning with a certain prefix then the name of the file is a date + an auto-generated number. eg tesFil_2008090210.txt, tesFil_2008090210.xls, tesFil2008090210.doc As u can see the above files have the same name but different extension. The folder I am working with has a lot of these files but will different names, i need to group the files with the same name and copy them to a different folder. How do I get the file names? Hope this makes sense :) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312162 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

