
7Command-LineInterface
rem ********************************************************
rem * Old Flashs (ready)detected CleanUp them
rem *******************************************************
rem
:old-ok
@echo.
@echo FlashStates "ready"(without errors) for server%1 available
rem
:old-nok
@echo.
@echo FlashStates "ready"(with errors)for server %1 available
goto cleanall
rem
:cleanall
@echo Whohas started them ? Pleasecheck!
@echo Aftercontinue the old flashs are reseted
pause
@echo CleanUp flash states for server%1
gfcli -C -N%1 -L %2 -P %3 -F %1.txt
if %errorlevel%==1goto nothtodo
if %errorlevel%==2goto timeout
if %errorlevel%==3goto statenok
if %errorlevel%==4goto c-oldnok
if %errorlevel%==5goto gfierror
if %errorlevel%==6goto nologop
if %errorlevel%==7goto noaccess
if %errorlevel%==10goto parerror
if %errorlevel%==11goto memerror
if %errorlevel%==0goto c-oldok
@echo.
@echo Undefined returncode!
goto chkend
rem
:c-oldok
@echo.
@echo CleanUP - Jobs detected all ok
goto start1
rem
250 ServerViewUpdate Management