than 100 lines of text. Unless you are a major writer, >> your << = (you�re)
probably adding a lot of the previous replies. Please trim your posts when
replying. Thank you.
The only thing I can think of is to add a new QueryColumn and use
ListLast(Filename, �_�) as the new columns value then sort by that� or
rename your files to something like�
File_001
File_002
File_003
File_010
File_020
File_030
<cfloop query=�GetAllFIles�>
<cfset NewFile = "File_" & NumberFormat(ListLast(name, "_"), "000")>
<cffile action="" source=�#serverdir##docpath#\#name#"
destination=�#serverdir##docpath#\#newfilename#">
</cfloop>
Just use a larger mask if you think there will ever be more than 100 files
(000) or a file name greater than FILE_100
-OR-
You could just sort by the date attribute if those files were created in
sequential order : )
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.767 / Virus Database: 514 - Release Date: 9/21/2004
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.767 / Virus Database: 514 - Release Date: 9/21/2004
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

