Download Copiaris - Moon Software

Transcript
9.4 Exit codes
Copiaris
9.2 Referring options
If you want to work with command line parameters or set value of option from script using set option task then you need refer
options by name to set their values. Options have long descriptive name that you see in script editor but also shorter name
suitable for use in command line.
For example script option Confirm start message must be referred by name ConfirmStartMsg.
To see short names of options choose Tools | Show command line syntax of options in script editor, then you see
command line syntax of selected option in bottom left part of script editor.
9.3 Executable files
This documentation often refers to either Copiaris.exe or CopiarisCon.exe when showing examples of command line
usage. On most cases you can substitute one to another, depending if you want to run standard or console mode ( page 2)
Copiaris. To run 64-bit console module use CopiarisCon64.exe.
Details of available executable files
Copiaris.exe - Script launcher that is started when you double-click script file. If you want to start script from another
application or by Run applet then use this executable and pass script file and/or parameters on command line ( page 49).
This launcher invokes main Copiaris32.exe or Copiaris64.exe, depending on operating system in use.
CopiarisCon.exe - 32-bit console mode executable (
page 2), run if you need to use 32-bit console mode Copiaris.
CopiarisCon64.exe - 64-bit console mode executable (
page 2), run if you need to use 64-bit console mode Copiaris.
Copiaris32.exe / Copiaris64.exe - Main program modules that are invoked by launcher Copiaris.exe according
to user operating system. Don't run these executables directly but always use Copiaris.exe that decides which of these
program executables to start. This warrants that 64-bit executable is started on 64-bit Windows and 32-bit executable is
started on 32-bit Windows. If you want to force 32-bit executable on 64-bit Windows you can run Copiaris32.exe directly
but when running any of these Copiaris32/64 execuables directly you are losing some functionality that is provided by
launcher Copiaris.exe, like automatic elevation and script start prompt. Running these executables directly is not
recommended and is not supported.
CopiarisEditor.exe - Script editor (
page 11).
9.4 Exit codes
When calling Copiaris from batch files, automation tools or invoking it via process task (
finished successfully or issued warnings or errors by examining returned exit code.
9
page 17) you can know if it
Both GUI and console modules return the following exit code on program exit:
0 - success, no errors or warnings
1 - warnings
2 - errors
51