52
Cyclone MAX User Manual
CYCLONE MAX
Example 2
------------------------------------------------------------------------------------------------------
; Setup commands
OPENTYPE=NAME
PORT=ETHERNET
CYCLONE=PE_Cyclone1
; Operation commands
START
------------------------------------------------------------------------------------------------------
6.1.4
DOS Error Returns
DOS error returns are provided so they may be tested in .BAT files. See
Section 12 - CYCLONE ERROR CODES
for a complete list of Cyclone error
codes.
6.1.5
Sample Batch File
Here is an example of a way to call the CYCLONEMAX_LAUNCH utility and
test its error code return in a simple batch file. Sample batch files are given for
both Windows NT/2000/2003/Vista and Windows 95/98/ME/XP.
Windows NT/2000/XP/Vista:
CYCLONE_LAUNCH test.cfg
if errorlevel 1 goto bad
goto good
:bad
ECHO BAD BAD BAD BAD BAD BAD BAD BAD
:good
ECHO done
Windows 95/98/ME:
CYCLONE_LAUNCH test.cfg