1 (edited by Stefan 2016-06-25 22:56:23)

Topic: How to format number to all same amount of digits (001, 082, 234)

FROM:

Vacation5.jpg
Vacation23.jpg
Vacation101.jpg

TO:
Vacation005.jpg
Vacation023.jpg
Vacation101.jpg


USE:
%NN%N{3}.%e






EXPLANATION:


   %N   : a number contained in the base file name
          a digit can indicate its position (1 by default)


   %NN  : the "opposite" of %N: a non numeric string contained
          in the base file name
          a digit can indicate its position (1 by default)


The parameters of some "number" variables can be defined in
"Options" ("Numbers" sub-menu). They can be specified too direclty
in the expression inside a "{}" modifier (braces) that postfixes
the variable name.

For the numbers contained in the base file name: %N, %N1, %Nn ...
the usage is: "{ p, v, n }"
    p : size
    v : value to add (positive or negative)
    n : position of the number to extract.
        If negative, the extraction is done from the end.


   %e   : the name extension


See Siren Help (?) for more explanation.




Press the F1-key while you are in Siren to read more about.
Enjoy Siren,  No installation needed, unzip and run. Siren stores it settings into an ini file, not in the Registry.
------------------------------------------------------------------------------------------------------------

                                             Siren is a freeware file renaming program
                                               - portable, highly flexible, powerfully -
                                          If it's looking tricky it's easy to rename with Siren.
                                          http://www.scarabee-software.net/en/siren.html

                                          Now for Windows Win32 and GNU/Linux also:
                                          http://scarabee-software.net/forum/viewtopic.php?id=273