I need to batch rename my files, KHV!

Discussion in 'Technology' started by Misty, Jan 5, 2010.

Thread Status:
Not open for further replies.
  1. Misty gimme kiss

    Joined:
    Sep 25, 2006
    Gender:
    Cisgender Female
    Location:
    alderaan
    6,590
    Give me a program plz. :[ If it works on Vista I'll be a happy camper. Free would be super awesome. I've already tried two (one was called like Metamorphosis or something and the other was called Flexible Renamer) and they both kept closing (or not opening).

    There's a lot of files (about 2500), they're pictures in BMP format. I want to be able to name them with a prefix and then numbers, like this:

    thisismyprefix10203229832983.bmp
     
  2. ♥♦♣♠Luxord♥♦♣♠ Chaser

    Joined:
    Jan 13, 2009
    1,773

    HOPE THIS HELPS

     
  3. SenHu Moogle Assistant

    Joined:
    Feb 2, 2010
    1
    1
    Rnaming all .bmp files at once


    It could not get easier than this.


    Code:
    # Script RemaneBMP.txt
    var str folder, prefix, list, file, newname
    cd $folder
    lf -n "*.bmp" $folder > $list
    while ($list <> "")
    do
        lex "1" $list > $file
        stex -p "^/^l[" $file > $newname
        set $newname = $prefix + $newname
        system rename ("\""+$file+"\"") ("\""+$newname+"\"")
    done


    This is in biterscripting ( http://www.biterscripting.com ). To try (first in a test folder), save the code in file "C:/Scripts/RenameBMP.txt", start biterscripting, enter the following command exactly as below.


    Code:
    script "C:/Scripts/RenameBMP.txt" folder("C:/Test") prefix("my prefix")

    This will rename all .bmp files in folder "C:/Test" with prefix "my prefix".

    Hope this helps.
     
Thread Status:
Not open for further replies.