home *** CD-ROM | disk | FTP | other *** search
- @echo off
- rem: RA-Pager v1.55 (batch file)
- rem: By Jason Raphael (1:284/22)
-
- if "%RA%" == "" goto error1
- if not exist %RA%\RA.EXE goto error2
- if not exist %RA%\page.log goto nolog
- if exist %RA%\page.asw goto copylog
- goto end
-
- :ERROR1
- echo.
- echo ■ RA-Pager ERROR:
- echo RemoteAccess environment variable not set. Please set the RA environment
- echo variable to your RemoteAccess system path, or see RA-PAGER.DOC for more
- echo information. Ex: SET RA=D:\RA
- echo.
- echo ■ RA-Pager ERROR: >>d:\ra-pager.err
- echo RemoteAccess environment variable not set. Please set the RemoteAccess environment >>d:\ra-pager.err
- echo variable to your RemoteAccess system path, or see RA-PAGER.DOC for more >>d:\ra-pager.err
- echo information. Ex: SET RA=D:\RA >>d:\ra-pager.err
- goto end
-
- :ERROR2
- echo.
- echo ■ RA-Pager ERROR:
- echo RemoteAccess environment variable set incorrectly. Please set
- echo the RA environment variable to your RemoteAccess system path, or see
- echo RA-PAGER.DOC for more information. Ex: SET RA=D:\RA
- echo.
- echo ■ RA-Pager ERROR: >>d:\ra-pager.err
- echo RemoteAccess environment variable set incorrectly. Please set >>d:\ra-pager.err
- echo the RA environment variable to your RemoteAccess system path, or see >>d:\ra-pager.err
- echo RA-PAGER.DOC for more information. Ex: SET RA=D:\RA >>d:\ra-pager.err
- pause
- goto end
-
- :NOLOG
- echo ■ RA-Pager v1.55 Log >>%RA%\page.log
- echo ─-─-─-─-─-─-─-─-─- >>%RA%\page.log
- echo. >>%RA%\page.log
- if exist %RA%\page.asw goto copylog
- goto end
-
- :COPYLOG
- type %RA%\PAGE.ASW >>%RA%\PAGE.LOG
- del %RA%\PAGE.ASW
- goto end
-
- :end
- exit
-