home *** CD-ROM | disk | FTP | other *** search
/ PC-Online 1998 February / PCOnline_02_1998.iso / filesbbs / dos / nbeta087.exe / CONFIGS.EXE / COMPRESS.CTL < prev    next >
Encoding:
Text File  |  1996-02-04  |  2.8 KB  |  79 lines

  1. ; These are the compression program definitions.  The NAME is the archiver
  2. ; name as you want the user to see it, the Extension is the normal file
  3. ; extension by which files of that type are known.  The ADD and EXTRACT
  4. ; commands must include the full path and .EXE or .COM extension in order
  5. ; to work.  Since the compression is (in this version) only used for QWK
  6. ; processing, the ADD command should (ideally) specify "move"ing files
  7. ; into the archive rather than simply adding them, and the EXTRACT
  8. ; command should (definitely!) specify overwriting existing files.
  9. ; The ID bytes are as follows: the fist numeric parameter is the number of
  10. ; bytes from the first one where we are to find a string of bytes equal to
  11. ; the remaining specified bytes.  0 means the first byte.  -1 means the last
  12. ; byte in the file, -2 means the second to last and so on.  The remaining
  13. ; bytes are what the BBS searches for to identify the file type.  A number
  14. ; of known archiver IDs are included in this sample file.
  15. ;
  16. ; You can specify up to 8 bytes to search for the ID.  Byte values are
  17. ; in vanilla decimal, no hex here!
  18. ;
  19. ; There can be up to 16 compression programs defined, from 1 to 16.
  20. ;
  21.  
  22. compress 1
  23.         name            PKWare's PKZip
  24.         extension       ZIP
  25.         add             c:\bin\pkzip.exe -m %a %f
  26.         extract         c:\bin\pkunzip.exe -oe %a %f
  27.         id              0 80 75 03 04
  28. end
  29.  
  30. compress 2
  31.         name            PKWare's PKZip - Maximum Compression!
  32.         extension       ZIP
  33.         add             c:\bin\pkzip.exe -ex -m %a %f
  34.         extract         c:\bin\pkunzip.exe -oe %a %f
  35.         id              0 80 75 03 04
  36. end
  37.  
  38. compress 3
  39.         name            Robert K. Jung's ARJ
  40.         extension       ARJ
  41.         add             c:\bin\arj.exe m %a %f -m4
  42.         extract         c:\bin\arj.exe e %a %f -y
  43.         id              0 96 234
  44. end
  45.  
  46.  
  47. compress 4
  48.         name            Haruyasu Yoshizaki's LHarc
  49.         extension       LZH
  50.         add             c:\bin\lha.exe a /m %a %f
  51.         extract         c:\bin\lha.exe e %a %f
  52.         id              2 45 108 104
  53. end
  54.  
  55. compress 5
  56.         name            NoGate's PAK
  57.         extension       PAK
  58.         add             c:\bin\pak.exe a %a %f
  59.         extract         c:\bin\pak.exe e /wa %a %f
  60.         id              -2 254
  61. end
  62.  
  63. compress 6
  64.         name            Phil Katz's PKPAK/PKARC (or SEA ARC)
  65.         extension       ARC
  66.         add             c:\bin\pkpak.exe -oct a %a %f
  67.         extract         c:\bin\pkunpak.exe /r %a %f
  68.         id              0 26
  69. end
  70.  
  71. compress 7
  72.         name            Rahul Dhesi's ZOO
  73.         extension       ZOO
  74.         add             c:\bin\zoo.exe -m %a %f
  75.         extract         c:\bin\zoo.exe -e:O %a %f
  76.         id              0 90 79 79
  77. end
  78.  
  79.