What is a variable? A variable is a value which may be different each time it is retrieved, or may be different depending upon the configuration of the computer or the profile. All variables are surrounded by percentage signs, e.g. %variablename%. There are several types of variables:
- Environment Variables: These are variables that are part of the Windows operating system. For example, %ProgramFiles% usually has a value of C:\Program Files
- SyncBack Variables: These are variables that are managed by SyncBack itself. For example, %DAYOFWEEK% returns the numeric value of the current day of the week, e.g. 1 if today is Monday. For a complete list of the SyncBack Variables refer to the help file. Note that SyncBackFree does not support all the variables.
- Profile Variables: These are variables that refer to settings of the profile itself. They are always prefixed with an underscore, e.g. %_Source% returns the source directory for the profile.
- Registry Variables: In SyncBackPro/SE/Lite you can also retrieve values from the registry, e.g. %@HKEY_LOCAL_MACHINE\SOFTWARE\Mozilla\Mozilla Firefox\CurrentVersion%
- Script Variables: SyncBackPro also supports the creation and manipulation of variables using scripting. See the help file for more details.
- SyncBack Touch Variables: There are some variables that are expanded on the SyncBack Touch device itself, e.g. %SBT_VERSION%
Please refer to the help file for a complete list, and description, of all SyncBack variables.