Command line interface

is needed to start a syncronization. It is the first thing that gives you control over the process itself.

As FoobarSync is a Visual Basic Script, your PC needs to have Windows Scripting Host installed (WSH). To run FoobarSync, you must add cscript as prefix to your command line.

Exit Code

The script will pass an exit code (also called errorlevel or error code) with the value 1 back to the command prompt, if there was an error. The script then ends in a controled way. Someone will find that useful for futher automation with other tools. But if there are errors which make the interpreter abort the script (messed configuration file, bugs in my code), the exit code will be 0.

FoobarSync General Syntax


CSCRIPT.EXE SYNC.VBS [tasks=[m|p|t|q|r]] [RunID=[file|folder]] [help] [nopause] [nowarnings] [Debuglevel=1-5]

Parameters & Options


Tasks=[m|p|r|t]


RunID=[file|folder]

Example: cscript tasks=mp runid="s:\my test target\mysync.id"
Please note you can not use any wildcards with runid !
Examples: cscript tasks=mp runid="s:\folder"

NoPause


NoWarnings


DebugLevel=1-5


Help

Will show the help / command line syntax. Surpise, surprise! You should see:
Tutorial Screenshot
 



- Check out the other Pages, that belong to the wiki-category Documentation !
- Ask and discuss at the FoobarSync discussion thread on Hydrogenaudio Forums
There are no comments on this page.
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki