File names with sequential numbering

Posted: 09-03-2003, 01:04 AM
I have been sent a large number of files with descriptive file names. I would like to rename these files with a filename of "Prefix + sequential serial number + extension" instead.
I can do this easily with the file naming section in a batch command, but I can't work out how to reset the serial number to a specific number when doing a series of batches (that is, I don't want to start the sequence at 001). Any suggestions?
Reply With Quote

Responses to "File names with sequential numbering"

YrbkMgr
Guest
Posts: n/a
 
Re: File names with sequential numbering
Posted: 09-03-2003, 02:03 AM
If all you're doing is renaming them (v. saving as a different file format) and you have version 7, it's just as easy to do in the file browser. Whichever the case, use this:

#006# will create a three digit number begining with 6. Just put that in the rename box in which you want it to appear and you're done.

So.. "Document Name" + #0100# + "extension" will start at 100 and use 4 digits.

Peace,
Tony
Reply With Quote
Peter Mansell
Guest
Posts: n/a
 
Re: File names with sequential numbering
Posted: 09-03-2003, 03:46 AM
Thanks Tony, that sounds very simple. Of course I forgot to mention that I am using v6! in which the #00x# strategy doesn't seem to work.

The work around method that I have considered is to process the files in batches of 1000 using the 3 digit serial number option after an alphanumeric prefix... the first batch would be renamed
"RVU0" + "3 digit serial number" + "extension"
and the next 1000 would be renamed
"RVU1" + "3 digit serial number" + "extension"
and so on.
I had hoped there would be a more elegant solution (or maybe I could just buy v7?!)
Regards
Peter
Reply With Quote
YrbkMgr
Guest
Posts: n/a
 
Re: File names with sequential numbering
Posted: 09-03-2003, 10:46 AM
Peter,

In truth, I never tried it in v6, so I can't say. But if you're considering v7, wait; rumor has it v8 is to be released soon. My guess (and it's only a guess, is that we will see 8 by October.

In any event, I don't think there's a more elegant solution if the #NNN# strategy doesn't work in 6. Sorry.

Peace,
Tony
Reply With Quote
 
LinkBack Thread Tools Search this Thread Display Modes
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
File paths and File names generated by Contribute Hi There Macromedia Contribute General Discussion 0 08-31-2006 07:50 PM
Best Method?: For Resetting sequential numbering . .. . . The ScareCrow Macromedia ColdFusion 4 05-24-2005 03:31 AM
DataBinding to a Sequential File Tom McLaughlin ASP.NET Data Grid Control 1 02-16-2004 12:24 AM
Seeking critique of simple file line numbering code. David Oswald PERL Miscellaneous 3 08-15-2003 11:42 PM
File Names in Blue Bruce Chambers Windows XP/2000/ME 0 06-29-2003 02:52 PM