home *** CD-ROM | disk | FTP | other *** search
- echo off
- cls
-
- rem Smaple start-up batch file to invoke Ring*Back in Ring-Back mode.
-
- rem In this example the batch files "Setclock.Bat" and "Backup.Bat"
- rem are dummy batch files illustrating how to use event scheduling
- rem to preform other system tasks.
-
- rem The following line may be deleted:
- if not exist ringback.exe goto no_find
-
- RINGBACK RING-BACK
- if errorlevel=255 goto end
- if errorlevel=96 goto load
- if errorlevel=24 goto load
- if errorlevel=12 goto load
- if errorlevel=5 setclock.bat
- if errorlevel=4 backup.bat
- if errorlevel=3 goto load
- if errorlevel=2 nite.bat
- if errorlevel=1 day.bat
- if errorlevel=0 goto local
- goto error
-
- :load
- Loadbbs.Bat
-
- :Local
- Bbsbatch local
-
- :error
- echo Something's wrong!
- echo Please check system before restarting program ...
- goto end
-
- :no_find
- echo Can not find Ringback.Exe!
-
- :end
- echo Exiting to DOS ...
-
-