:=====================================================
:                 EXAMPLE1.BAT
:
:       This is the type of batch file that could be
: used when the 'Return Error Level' initiation 
: option is selected.
:
:       You would want to insert something like this
: into your AUTOEXEC.BAT file so Check Backup would
: be run automatically when you turn your computer
: on.
:=====================================================
echo off
c:
cd \chkbkup
chkbkup
if errorlevel == 0 goto Finished
:
if errorlevel == 1 goto BackupOne
goto TestTwo
:BackupOne
echo "Initiate Backup One Here..."
goto Finished
:
:TestTwo
if errorlevel == 2 goto BackupTwo
goto TestThree
:BackupTwo
echo "Initiate Backup Two Here..."
goto Finished
:
:TestThree
if errorlevel == 3 goto BackupThree
goto TestFour
:BackupThree
echo "Initiate Backup Three Here..."
goto Finished
:
:TestFour
if errorlevel == 4 goto BackupFour
goto TestFive
:BackupFour
echo "Initiate Backup Four Here..."
goto Finished
:
:TestFive
if errorlevel == 5 goto BackupFive
goto TestSix
:BackupFive
echo "Initiate Backup Five Here..."
goto Finished
:
:TestSix
if errorlevel == 6 goto BackupSix
goto TestSeven
:BackupSix
echo "Initiate Backup Six Here..."
goto Finished
:
:TestSeven
if errorlevel == 7 goto BackupSeven
goto TestEight
:BackupSeven
echo "Initiate Backup Seven Here..."
goto Finished
:
:TestEight
if errorlevel == 8 goto BackupEight
goto TestNine
:BackupEight
echo "Initiate Backup Eight Here..."
goto Finished
:
:TestNine
if errorlevel == 9 goto BackupNine
goto Finished
:BackupNine
echo "Initiate Backup Nine Here..."
goto Finished
:
:Finished
