home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 8 / CDASC08.ISO / VRAC / DRAGONML.ZIP / DRAGON.ZIP / SAMPLE.BAT < prev    next >
Encoding:
DOS Batch File  |  1993-08-09  |  2.1 KB  |  68 lines

  1. @echo off
  2. cls
  3. rem -------------------------------------------
  4. rem  install batch file for the Sample
  5. rem  Mailing List for MailMan Version 1.51
  6. rem
  7. rem  Usage: from the MailMan subdirectory
  8. rem        type in "Sample" and enter
  9. rem
  10. rem  Copyright (c) 1993 by
  11. rem  St. Dragon Enterprises, Sausalito, CA
  12. rem  All rights reserved.
  13. rem -------------------------------------------
  14.  
  15. rem check for help request
  16. if !%1 == !?    goto usage
  17. if !%1 == !/?   goto usage
  18. if !%1 == !-?   goto usage
  19. if !%1 == !HELP goto usage
  20. if !%1 == !help goto usage
  21. if !%1 == !Help goto usage
  22.  
  23. echo I--N--S--T--A--L--L        I--N--S--T--A--L--L        I--N--S--T--A--L--L
  24. echo  ----------------------------------------------------------------------
  25. echo  .   This is for the St. Dragon Mailing List manager, version 1.51
  26. echo  .
  27. echo  .   WARNING -- WARNING -- WARNING -- WARNING -- WARNING -- WARNING
  28. echo  .
  29. echo  .  This will install the sample mailing list: NAMES.  If you are
  30. echo  .  updating an existing MailMan installation then do NOT continue
  31. echo  .  with this.  You do not need to do this install and proceding might
  32. echo  .  destroy existing data.  Type Control-C now.
  33. echo  .
  34. echo  .  Be sure that you are running this install from the MailMan
  35. echo  .  subdirectory.
  36. echo  .
  37. echo  .  Otherwise press any other key to continue...
  38. echo  ----------------------------------------------------------------------
  39. pause
  40.  
  41. if not exist .\data\names.* goto cont
  42.  
  43. cls
  44. echo -------------------------------------------------
  45. echo .    There appears to already be a mailing list
  46. echo .    called NAMES.  This installation will now
  47. echo .    abort to prevent overwriting existing data.
  48. echo -------------------------------------------------
  49. goto end
  50.  
  51. :cont
  52. if exist .\data\*.* goto cont2
  53. md .\data
  54.  
  55. :cont2
  56. cd data
  57. ..\pkunzip ..\samples
  58.  
  59.  
  60. echo --------------------------------------------
  61. echo . The sample mailing list NAMES has been
  62. echo . installed in the subdirectory DATA.  It
  63. echo . contains 50 phoney names that may be used
  64. echo . in learning the Mailing List Manager.
  65. echo --------------------------------------------
  66.  
  67. :end
  68.