Sistema Files

Instructions

 

First define every rule and move it to the command list on the right by clicking on the button

Commands will be executed in the exact order they've been moved into the command box

If you want to change the execution order just click on the arrow buttons

If you want to delete a command, select and click on the

 

The very important thing to understand is that every command acts on the string modified by its predecessor:

for istance, if you have a file whoose name is "MY DOC 01.doc" (note the uppercace) and another "my doc 02.doc", you have to transform the first one into a complete lowercased filename

using the button and then use the

the final result is

My Doc 01.doc

My Doc 02.doc

 

 

Another common case met in a document collection is that numbers don't always have the same number of digits

my doc 001.doc

my doc 02.doc

my doc 3.doc

In this case is useful the command

#:##    turns all the one digits number into a two digits number

###:## turns all the three digits number into a two digits number

so the final result is

my doc 01.doc

my doc 02.doc

my doc 03.doc

 

allows to assingn the number to a variable (e.g. VAR1) to be used by the command

so, ###:##:VAR1     turns the three digits number into a two-digits number and assignes it to the VAR1 variable to be bused by the

as follows

?VAR1 * will obtain

01 my doc.doc

02 my doc.doc

03 my doc.doc

the number has been moved to the beginnning of the string: useful when documents don't all have the number in the same position themselves

 

Now let's see an example for all:

suppose we have the following files list


and we need to obtain an homogeneus description for each file like

## - My Doc.txt

All we have to do is implement the following command in the following sequence




let's see the detailes

The first ToLower turns all the character to lower case so that the following ToUpper may turn the first letter to capital

now the MY DOC has become mydoc anf then My Doc

We still need to have the same number of digits, so the three




provide to have all two-digits numbers

the last two commands


assign all the two digits number found to the variable VAR1 and the directive Mask ?VAR1 uses it as a variable to put in the beginning of the string

for the final result that is




Looks more heterogeneous, ain't it?



Hope you find it useful but please, report suggestions and BUGS

Alxym Alkemist