Dynamsoft SAW for VSS commands entered from the Windows Command Line must begin with SAWVcmd. The syntax for Dynamsoft SAW for VSS commands is as follows:
SAWVcmd Command [parameter(s)][value(s)]
Dynamsoft SAW for VSS commands entered from the Java Command Line must begin with "java -jar SAWVcmd.jar". The syntax for Dynamsoft SAW for VSS commands is as follows:
java -jar SAWVcmd.jar Command [parameter(s)][value(s)]
Commands
The commands are not case-sensitive. The commands can be either uppercase or lowercase.
For a complete list of commands in Dynamsoft SAW for VSS Command Line, see Commands and Parameters.
Parameters
Parameters you use to modify the action of a command. They consist of a hyphen ( - ) and a letter.
For a complete list of parameters in Dynamsoft SAW for VSS Command Line, see Commands and Parameters.
Values
The value can be a project or a file. The value must follow the parameter letter with a space between them.
If there is any space in any command parameter value, the value must be surrounded by
double quotes. For
example (for Windows Command Line):
SAWVcmd GetFileInfo -server 127.0.0.1 -port 8787 -username test -pwd test -tempdir
D:\temp -alias vss -prj $/123 -file "Text 1.txt"
In almost all cases where you can specify an item to act on, you can also specify many items by adding "/" between them. For example (for Windows Command Line):
SAWVcmd AddFile -server 127.0.0.1 -port 8787 -username test -pwd test -tempdir D:\temp -alias vss -prj $/123 -file Hello.txt/Test.txt