|
-
Aug 16th, 2002, 11:24 PM
#1
Thread Starter
Member
sorting numerically inside a windows folder
Hello,
I am trying to sort filenames numerically inside a windows folder. If I add a 01 to a filename, that will keep them in order in a windows folder until I reach 100. Then 10_abc sits with 100_def, 20_abc sits with 200_def, etc... I need to sort them where 10 is 10 and 100 is 100. Does anybody have any ideas how to do this? I've spent alot of time looking through the posts and haven't found anything. If somebody could help me I would really appreciate it.
Thanks in advance, Rick
-
Aug 16th, 2002, 11:51 PM
#2
-
Aug 17th, 2002, 09:19 AM
#3
Thread Starter
Member
What I'm doing is adding numbers to the beginning of a filename. I'm using this for keeping filenames in specified order when creating an .mp3 disc. i.e When looking at these files in Windows 10_abc.mp3, 100_def.mp3, they are together. I thought about using letters and numbers, but there could be 10,000 items. I just can't think of a good way to do this. Does anybody have a better idea?
Thanks, Rick
-
Aug 17th, 2002, 09:25 AM
#4
-
Aug 17th, 2002, 09:27 AM
#5
Thread Starter
Member
Yeah, that is exactly what I'm looking for. I could be using 10,000 or more files and need to sort them in a certain order.
-
Aug 17th, 2002, 09:31 AM
#6
-
Aug 17th, 2002, 09:33 AM
#7
Frenzied Member
Decide on a maximum number of files, say 10,000 and pad all numbers with zeros when the digits are not exactly 5.
FILE1 - 00001_ABC.MP3
FILE2 - 00002_EFG.MP3
......
FILE112 - 00112_JMH.MP3
.....
FILE9999 - 09999_QRS.MP3
hth
"Brothers, you asked for it."
...Francisco Domingo Carlos Andres Sebastian D'Anconia
-
Aug 17th, 2002, 09:38 AM
#8
Thread Starter
Member
No, I don't no how many but I could set a limit of a 100000 I think that would be big enough. Thanks to both for your replies. I'll give it a try
~Rick
-
Aug 17th, 2002, 09:40 AM
#9
-
Aug 17th, 2002, 09:45 AM
#10
Frenzied Member
speaking of files and folders, does Windows (esp.WIN98) have a limit as to the max number of files in any given folder?
"Brothers, you asked for it."
...Francisco Domingo Carlos Andres Sebastian D'Anconia
-
Aug 17th, 2002, 09:50 AM
#11
Thread Starter
Member
The padding works great. That was an easy fix, thanks again.
-
Aug 17th, 2002, 10:00 AM
#12
Frenzied Member
UR Welcome
"Brothers, you asked for it."
...Francisco Domingo Carlos Andres Sebastian D'Anconia
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|