Alright I have about 2000 files which are named 1, 2, 3, 4, …. 9, 10, 11, 12 …. 99, 100, 101, 102…. 999, 1000, 1001 etc.


ordinal numering, you know.

it’s well-known problem in PC at all.

FMOD Ex can’t count correct and there is a problem like:

1, 10, 2, 20…

of course all messes up and the order of files (which is really important in FSB) misses.


I don’t know what to do 👿
I know that my problem can be easily solved by renaming files like this: 0001, 0002 … 0009, 0010, 0011 … 0099, 1000, 1001.

I tried total commander but I don’t know how to make this tool add three zeros to one-digit filename, two zeros to two-digit filename etc… and of course total commander has the same problem with order. so i just have no idea what to do 👿 i’m sick of this ****.

  • You must to post comments

If you have cygwin installed (linux-like command prompt) and a few tools like "sed" then you could batch rename them in a script.

Or some other scripting tool with regular expressions…

Using regular expressions, you could:
replace ([0-9]{1}) with 000\1
replace ([0-9]{2}) with 00\1
replace ([0-9]{3}) with 0\1

Something like this is a good start:

[code:9pm481qv]cd path/to/files
for filename in *
newname=echo $filename | sed -e 's/([0-9]{1})/0\1/g'
echo mv "$filename" "$newname"

if it looks like it’s doing the right thing, remove the ‘echo’ word and it will really be renaming the files.


  • You must to post comments

For renaming with a Windows GUI there is a nifty free tool that I use called Rename Master:


You should be able to use that to sort out your problems.

  • You must to post comments

you don’t have to rename, just use a .lst file with fsbank and tell the encoder which order you want to encode in.

  • You must to post comments
Showing 3 results
Your Answer

Please first to submit.