
Get more than you expect from a backup program
You can enter environment variables as part of the folder name. SmartSync Pro expands these to the corresponding values when it runs the profile. Environment variables should be enclosed in % signs.
The following expand to their corresponding values based on the Windows environment variables.
%VAR% Value of the environment variable VAR
Special Variables
|
Description
|
%UserID%
|
Your last identity (see HKEY_CURRENT_USER\Identities\Last User ID)
|
%AppDir%
|
SmartSync Pro home folder. Usually "C:\Program Files\SmartSync Software\SmartSync Pro 8".
|
%AppDataDir%
|
SmartSync Pro data folder. Usually "C:\Users\UserName\AppData\Local\SmartSync Software\SmartSync Pro 8".
|
%ProfileFiles%
|
Folder where SmartSync Pro stores profile's files like configurations, logs, etc.
|
%ProfilesDir%
|
SmartSync Pro folder with profile files. If Multi User mode selected Yes during installation then it is equal
"C:\Users\UserName\AppData\Local\SmartSync Software\SmartSync Pro 8", if No then it is equal
"C:\ProgramData\SmartSync Software\SmartSync Pro 8"
|
%RoamingAppData%
|
Roaming data folder for the current user. Usually equal "%USERPROFILE%\AppData\Roaming" or "%USERPROFILE%\Application Data" for XP/2003
|
%ProfileName%
|
Profile name.
|
%LocalAppData%
|
Local data folder for the current user. Usually equal "%USERPROFILE%\AppData\Local" or "%USERPROFILE%\Local Settings\Application Data" for XP/2003
|
%CommonAppData%
|
Common data folder for all users (Program Data). Usually equal "%SystemDrive%\ProgramData" or "%ALLUSERSPROFILE%\Application Data" for XP/2003
|
%Date%
|
Current date in format YYYYMMDD (For example: 20090527)
|
%Date:format%
|
Formats current date using the format given by format. See the following table for information about the supported format strings.
d
|
Displays the day as a number without a leading zero (1-31).
|
dd
|
Displays the day as a number with a leading zero (01-31).
|
ddd
|
Displays the day as an abbreviation (Sun-Sat)
|
dddd
|
Displays the day as a full name (Sunday-Saturday)
|
m
|
Displays the month as a number without a leading zero (1-12)
|
mm
|
Displays the month as a number with a leading zero (01-12).
|
mmm
|
Displays the month as an abbreviation (Jan-Dec)
|
mmmm
|
Displays the month as a full name (January-December)
|
yy
|
Displays the year as a two-digit number (00-99).
|
yyyy
|
Displays the year as a four-digit number (0000-9999).
|
|
%Time%
|
Current time in format hhmm (For example: 1251)
|
%Time:format%
|
Formats current time using the format given by format. See the following table for information about the supported format strings.
h
|
Displays the hour without a leading zero (0-23).
|
hh
|
Displays the hour with a leading zero (00-23).
|
n
|
Displays the minute without a leading zero (0-59).
|
nn
|
Displays the minute with a leading zero (00-59).
|
s
|
Displays the second without a leading zero (0-59).
|
ss
|
Displays the second with a leading zero (00-59).
|
am/pm
|
Uses the 12-hour clock for the preceding h or hh specifier, and displays 'am' for any hour before noon, and 'pm' for any hour after noon. The am/pm specifier can use lower, upper, or mixed case, and the result is displayed accordingly.
|
a/p
|
Uses the 12-hour clock for the preceding h or hh specifier, and displays 'a' for any hour before noon, and 'p' for any hour after noon. The a/p specifier can use lower, upper, or mixed case, and the result is displayed accordingly.
|
|
Example:
On a Windows system the folder name %WINDIR%\Media will expand to C:\Windows\Media.
|
SmartSync Pro Help Contents
| |