Folder Synchronize Command Script File Syntax
Funduc Software, Inc
Copyright 1997-2000
http://www.funduc.com http://www.searchandreplace.com
support@Funduc.com support@searchandreplace.com
All commands are submitted to the Folder Synchronize program (foldsync.exe) via one or more configuration files from the command line. The syntax is:
foldsync.exe <configuration file 1> <configuration file 2> ...
On the command line or in your .bat file surround the complete path specification to the program and/or your configuration file(s) with " if your paths have spaces.
The configuration files are ASCII text files (PC format). You may use any name you wish.
Listed below are the arguments the program recognizes. An example configuration file - foldsync.cfg - is included in the program .zip.
The ' character demarks comments. The program also ignores blank space lines.
For all 0 vs. 1 commands: 0 = No, 1 = Yes
[Directory Info] |
|
||||||||||||
Source=e:\funduc |
A source & target path must be specified. Do NOT use " characters. |
||||||||||||
Destination=c:\results |
If specified this is the path to copy the file(s) to instead of the Target= path. For example, if your synchronize choice determines that letter.doc would be copied from the Source to the Target, if a path is specified in Destination= , letter.doc would be copied there
instead. |
||||||||||||
IncludeMask=*.* |
An Include Mask=*.* is the default. Specify the masks in an order that makes sense - Each mask overrides the previous one(s) so chose accordingly. Take care that an exclude mask does not supercede an include mask. Multiple Include= and Exclude= lines
are permissible. Masks can also refer to subdir names. The syntax for this can be complex. Our Directory Toolkit utility has a complex builder that can be helpful for making model include/exclude specifications. All subdir specifications are relative Source= and Target=
|
||||||||||||
|
|
||||||||||||
[Options] |
|
||||||||||||
Log File=c:\foldsync.log |
When a file is specified a report would be written. |
||||||||||||
Allow Cancel=0 |
To disallow the cancel button, turn it off by specifying 0. Default is 1 for permit cancel button. |
||||||||||||
Message= |
Supply the text of your choice. |
||||||||||||
Confirm Updates=0 |
File updates will be preceded by a prompt if this is non-zero. |
||||||||||||
No Progress=0 |
A value of 1 turns off the progress meter. To make the operation totally silent, make this=1 and Confirm Updates=0. |
||||||||||||
Bitmap= |
Specify a .bmp to use as a logo if you like. The bitmap is transparent, using the bottom left pixel as the transparent color. |
||||||||||||
Search Subdirectories=1 |
The default is 1 for search and process all subdirectories. |
||||||||||||
Synch Option= |
Specify the synchronize operation to perform. If not specified, Synch Option=Compare is the default.
|
||||||||||||
|
|