Results 1 to 12 of 12

Thread: sorting numerically inside a windows folder

  1. #1

    Thread Starter
    Member
    Join Date
    Jul 2002
    Posts
    34

    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

  2. #2
    Need-a-life Member Mc Brain's Avatar
    Join Date
    Apr 2000
    Location
    Buenos Aires, Argentina
    Posts
    6,808
    What do you mean with "windows folder"?
    Emiliano F. Martín


    If a post has helped you then please Rate it! (and give the user points he/she deserves by clicking on the image).
    Encourage the person who helped you to keep doing it, and give him the points he deserves.


    MP3 Organizer: Freeware to logically organize all your MP3s.

  3. #3

    Thread Starter
    Member
    Join Date
    Jul 2002
    Posts
    34
    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

  4. #4
    Need-a-life Member Mc Brain's Avatar
    Join Date
    Apr 2000
    Location
    Buenos Aires, Argentina
    Posts
    6,808
    I still don't understand. Do you want an effective way to rename your files so that they are sorted right in Windows Explorer?
    Emiliano F. Martín


    If a post has helped you then please Rate it! (and give the user points he/she deserves by clicking on the image).
    Encourage the person who helped you to keep doing it, and give him the points he deserves.


    MP3 Organizer: Freeware to logically organize all your MP3s.

  5. #5

    Thread Starter
    Member
    Join Date
    Jul 2002
    Posts
    34
    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.

  6. #6
    Need-a-life Member Mc Brain's Avatar
    Join Date
    Apr 2000
    Location
    Buenos Aires, Argentina
    Posts
    6,808
    Do you know, beforehand, the number of files?
    Emiliano F. Martín


    If a post has helped you then please Rate it! (and give the user points he/she deserves by clicking on the image).
    Encourage the person who helped you to keep doing it, and give him the points he deserves.


    MP3 Organizer: Freeware to logically organize all your MP3s.

  7. #7
    Frenzied Member KayJay's Avatar
    Join Date
    Jul 2001
    Location
    Chennai
    Posts
    1,849
    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

  8. #8

    Thread Starter
    Member
    Join Date
    Jul 2002
    Posts
    34
    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

  9. #9
    Need-a-life Member Mc Brain's Avatar
    Join Date
    Apr 2000
    Location
    Buenos Aires, Argentina
    Posts
    6,808
    Bear in mind that if you're going to include the 100000 you will need 5 leading zeros, not four.
    Emiliano F. Martín


    If a post has helped you then please Rate it! (and give the user points he/she deserves by clicking on the image).
    Encourage the person who helped you to keep doing it, and give him the points he deserves.


    MP3 Organizer: Freeware to logically organize all your MP3s.

  10. #10
    Frenzied Member KayJay's Avatar
    Join Date
    Jul 2001
    Location
    Chennai
    Posts
    1,849
    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

  11. #11

    Thread Starter
    Member
    Join Date
    Jul 2002
    Posts
    34
    The padding works great. That was an easy fix, thanks again.

  12. #12
    Frenzied Member KayJay's Avatar
    Join Date
    Jul 2001
    Location
    Chennai
    Posts
    1,849
    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
  •  



Click Here to Expand Forum to Full Width