Advanced Features
This page documents some advanced features such as variables and command line parameters.
Variables that can be used in the sync paths
(in addition to standard Environment variables such as %TEMP%)
| |
$PROGDRIVE |
|
= |
|
drive
specification where the software is installed |
| |
$DATE |
|
= |
|
current date |
| |
$TIME |
|
= |
|
current time |
| |
$WEEKDAY |
|
= |
|
day of week |
| |
$2WEEKSDAYS |
|
= |
|
like $WEEKDAY but
for two weeks, i.e.
A Monday ... A Sunday, then
B Monday ... B Sunday, then starts over |
| |
$MONTHDAY |
|
= |
|
number of the day
of the month |
| |
$MYDOCUMENTS |
|
= |
|
current user's My
Documents folder |
| |
$ALLUSERSPROFILE |
|
= |
|
All Users folder,
for example
C:\Documents And Settings\All Users |
| |
$USERPROFILE |
|
= |
|
Current user's
profile folder |
| |
$APPDATA |
|
= |
|
Current user's
Application Data folder |
| |
$DAYOFMONTH |
|
= |
|
today's day number
in the month (1-31) |
| |
$WEEKDAYNUM |
|
= |
|
today's day number
in the week (1=Monday) |
| |
$MONTH |
|
= |
|
this month's name |
| |
$MONTHNUM |
|
= |
|
this month's
number (1-12) |
| |
$YEAR |
|
= |
|
current four-digit
year number |
Variables that can be used in the Execute before/after paths
| |
$LEFT
|
|
= |
|
left base path of synchronization |
| |
$RIGHT
|
|
= |
|
right base path of synchronization |
Command Line Options
- /autostart
Using the /autostart command line option, you can launch the software, its scheduler, and put it into minimized mode. By putting a shortcut into the Startup folder of the Start Menu and adding this option, you can have the synchronizer start up fully automatically when Windows starts. The exact command might look like this:
"C:\Program Files\SuperFlexible\SuperFlexibleSynchronizer.exe" /autostart
- /RUN="Profile Name" and /RUNX="Profile Name"
With these options, you can invoke a specific profile from the command line for immediate execution. /RUN= starts the profile and leaves the program running. /RUNX= starts the profile and exits the program after the profile has been executed.
You can use the asterisk wildcard at the end of this option, for example:
/RUN=* or /RUNX=* or /RUNX=Office*
You can also add this to cause a shutdown when done by adding /SHUTDOWN
- /U (unattended mode)
The profile is started and executed without further user interaction. When this option is not specified, the file list is being shown, but the actual synchronization must be started manually. In unattended mode, the program will only show an error message if one of the synchronization paths cannot be accessed.
- /S (silent mode)
Like /U but there will not be any error messages whatsoever.
- /M (minimized mode)
The program is minimized to the system try while executing the profile. This option implies /U.
- /LEFT="Folder Path"
allows you to specify a left path that is different from the one stored with the profile.
- /RIGHT="Folder Path"
allows you to override the profile's right path.
- /MASK="File1.txt;*.doc"
allows you to override the profile's inclusion masks, or simply specify one or more files to copy.
- /SHUTDOWN
Shutdown after running the profile(s) specified with /RUNX="Profile Name".
INI Files
The settings and profiles are stored in an INI file. The location of the INI file can be seen and changed on the Options tab sheet. The INI file and/or the network path may be read-only; in this case, the Synchronizer automatically disables profile editing.
- /INI="INI File Path" (command line option)
You can specify what INI file to use on the command line, such as /INI=C:\MyIniFile.ini. You can even select an INI file on a network path, for example if you have one corporate INI file that is to be used on many workstations.
Log Files
On the Options tab sheet, you can activate logging.
Each log file will contain detailed information about all operations that the synchronizer carries out while running a profile, including the start and end time and date.