... Variables

What are variables?
Variables are short text strings, for example '%U%
', or '%dddd%'.

What are they good for?

Variables will be expanded to their actual values when the program is running. For example: SecurTray will expand the variable '%U%
' to the name of the user which is actually using the program. This increases the flexibility.
An example: You have defined 'D:\SecurDat\%U%
' as default backup directory in SecurDat. If several users (Maria, Robert, Tom) are using a single computer and every user logs on the computer with his name, then SecurDat saves the backup files in different directories, in this example:
D:\SecurDat\Maria

D:\SecurDat\Robert

D:\SecurDat\Tom

according to who of the three users is actually using the computer. This makes it easier to keep an overall view which user has modified or created which files.

Which variables can I use in SecurDat?

Beside the '%U%
' variable there are 2 time and 6 date variables in SecurDat:

%nn%
: Minute two-digit (00-59)

%hh%
: Hour two-digit (00-23)

%dd%
: Day two-digit (01-31)

%dddd%
: Weekday (Sunday - Saturday)

%mm%
: Month (01-12)

%mmmm%
: Month (January - December)

%yy%
: Year as two-digit number (00-99)

%yyyy%
: Year as four-digit number (0000-9999)

%X%
: Folder Number Variable: Replace the X with any number you like. If for example you write %5%, then files on every backup will be saved in a folder with a different number; after creating the 5th folder the oldest folder will be automatically deleted and so on. (This is useful when combined with the 'Save all files together' option.
Example: On the Target tab you have defined G:\SECURDAT BACKUP\Account data %5%. version
as backup directory. SecurTray then when backing up creates the folders G:\SECURDAT BACKUP\Account data 1. version, G:\SECURDAT BACKUP\Account data 2. version, and so on.

Any examples?

You may use these date variables for example to keep every day 10 backup copies of files from a specific directory, if using the following default backup drectory for this example:
D:\SecurDat Backup\%yyyy%-%mm%-%dd%

SecurTray then saves the backup files in the following directories:
'D:\SecurDat Backup\2000-04-23'
(on 23 of April 2000)
'D:\SecurDat Backup\2000-04-25'
(on 25 of April 2000)
etc., according to the actual date.