home *** CD-ROM | disk | FTP | other *** search
- rem
- rem This file is started if the EchoDor program should exit with
- rem an errorlevel status of 3 and the user has selected [C]ompress.
- rem
- rem 4 parameters are passed to this file
- rem
- rem parameter 1 = the letter the user typed for the compression
- rem 2 = the node number (may not be needed)
- rem 3 = the mail file name
- rem 4 = the directory to hold the compressed mail
- rem
- rem use these parameters to call the correct compress program
- rem
- rem -----------------------------------------------------------------
- rem
- rem
- rem Now we'll check the letter the user typed in and call the protocol
- rem
- if %1 == Z PkZip -a %4\EchoMail %3
- if %1 == P Pak A %4\EchoMail %3
- if %1 == A Arca %4\EchoMail %3
- rem
- rem Now we'll erase the compressed mail file
- rem
- erase %5
- rem
- rem Finally, lets get EchoDor going again -- you'd have to put the
- rem batch file name needed here. Be sure that you include the /R
- rem option to allow EchoDor to begin in "Restart" mode.
- rem
- EchoDoor %2 /R
-