home *** CD-ROM | disk | FTP | other *** search
/ ProfitPress Mega CDROM2 …eeware (MSDOS)(1992)(Eng) / ProfitPress-MegaCDROM2.B6I / BBS / DOORS / ECHO310.ZIP / ECHOCMPS.BAT < prev    next >
Encoding:
DOS Batch File  |  1991-04-03  |  1.0 KB  |  32 lines

  1. rem
  2. rem  This file is started if the EchoDor program should exit with
  3. rem  an errorlevel status of 3 and the user has selected [C]ompress.
  4. rem
  5. rem  4 parameters are passed to this file
  6. rem
  7. rem  parameter 1 = the letter the user typed for the compression
  8. rem            2 = the node number (may not be needed)
  9. rem            3 = the mail file name
  10. rem            4 = the directory to hold the compressed mail
  11. rem
  12. rem  use these parameters to call the correct compress program
  13. rem
  14. rem -----------------------------------------------------------------
  15. rem
  16. rem
  17. rem   Now we'll check the letter the user typed in and call the protocol
  18. rem
  19. if %1 == Z PkZip -a %4\EchoMail %3
  20. if %1 == P Pak A %4\EchoMail %3
  21. if %1 == A Arca %4\EchoMail %3
  22. rem
  23. rem   Now we'll erase the compressed mail file
  24. rem
  25. erase %5
  26. rem
  27. rem   Finally, lets get EchoDor going again -- you'd have to put the
  28. rem     batch file name needed here.  Be sure that you include the /R
  29. rem     option to allow EchoDor to begin in "Restart" mode.
  30. rem
  31. EchoDoor %2 /R
  32.