Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: rename files Incrementing by 1  (Read 3560 times)

0 Members and 1 Guest are viewing this topic.

BATROOKIE

    Topic Starter


    Greenhorn

    rename files Incrementing by 1
    « on: July 01, 2008, 10:30:47 AM »
    i have 2000+ files that i have to rename starting with 001.tif. Can anyone help me please?

    Dias de verano

    • Guest
    Re: rename files Incrementing by 1
    « Reply #1 on: July 01, 2008, 10:39:15 AM »
    If you start at 001.tif and you have 3 characters in the filename you will run out at 999.tif.


    BATROOKIE

      Topic Starter


      Greenhorn

      Re: rename files Incrementing by 1
      « Reply #2 on: July 01, 2008, 10:43:33 AM »
      so what if i started at 00001.TIF. how would do that?

      Dias de verano

      • Guest
      Re: rename files Incrementing by 1
      « Reply #3 on: July 01, 2008, 11:19:27 AM »
      What order do you want them named in?

      BATROOKIE

        Topic Starter


        Greenhorn

        Re: rename files Incrementing by 1
        « Reply #4 on: July 01, 2008, 02:24:57 PM »
        THE FILES ARE NAMED HY67EBD.TIF   AND I NEED TO RENAME TO 0000001.TIF
                                            HY68EDU.TIF                                              0000002.TIF
                                            HY69BUE.TIF                                              0000003.TIF
                                            HT54FDN.TIF                                              0000004.TIF
                                            BFGRY57.TIF                                               0000005.TIF
                                            BD84HDD.TIF                                              0000006.TIF
                                            HND85JM.TIF                                              0000007.TIF
                                            JKD84HF.TIF                                               0000008.TIF
                                         ALL THE WAY TO                                         ALL THE WAY TO
                                             HF834JV.TIF                                               0002000.TIF




        Dias de verano

        • Guest
        Re: rename files Incrementing by 1
        « Reply #5 on: July 01, 2008, 02:36:02 PM »
        That list starting HY67EBD.TIF and ending HF834JV.TIF, is that in date order or size, or what? Ascending or descending?


        BATROOKIE

          Topic Starter


          Greenhorn

          Re: rename files Incrementing by 1
          « Reply #6 on: July 01, 2008, 02:50:27 PM »
          its a hexadecimal number and i just need to remane them in numerical order

          BATROOKIE

            Topic Starter


            Greenhorn

            Re: rename files Incrementing by 1
            « Reply #7 on: July 01, 2008, 02:57:37 PM »
            those aren't the exact files but they are numbered like that in order.

            Dias de verano

            • Guest
            Re: rename files Incrementing by 1
            « Reply #8 on: July 01, 2008, 03:42:49 PM »
            You mean they have a filename which is a hexadecimal number, they are in ascending order without any gaps, and you want them renamed so that the lowest hex number is renamed 0000001.TIF and the highest hex number gets the name 0002000.TIF?

            ghostdog74



              Specialist

              Thanked: 27
              Re: rename files Incrementing by 1
              « Reply #9 on: July 01, 2008, 09:19:45 PM »
              from which position to which position are the hex numbers. The max for a hex number is F. There are G, J, U etc in your file name so they are not hex.

              Dias de verano

              • Guest
              Re: rename files Incrementing by 1
              « Reply #10 on: July 02, 2008, 12:04:13 AM »
              from which position to which position are the hex numbers. The max for a hex number is F. There are G, J, U etc in your file name so they are not hex.


              Yes, I was wondering about that too.

              ghostdog74



                Specialist

                Thanked: 27
                Re: rename files Incrementing by 1
                « Reply #11 on: July 02, 2008, 12:52:16 AM »
                from which position to which position are the hex numbers. The max for a hex number is F. There are G, J, U etc in your file name so they are not hex.


                Yes, I was wondering about that too.

                well,maybe you could start the ball rolling without considering whether they are hex numbers. Just a normal file listing will do for a start. :)

                Dias de verano

                • Guest
                Re: rename files Incrementing by 1
                « Reply #12 on: July 02, 2008, 05:48:33 AM »
                I want to know what order he wants the source list to be. I'm not a batch file floozy, I need to be wooed.

                blastman



                  Hopeful

                  Re: rename files Incrementing by 1
                  « Reply #13 on: July 02, 2008, 06:39:51 AM »
                  I'm not a batch file floozy, I need to be wooed.

                  Post of the year!!!

                   :)

                  Blastman, you are the man. Thank You Very Much!!!!!!!!!