home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 2 BBS / 02-BBS.zip / qnos2207.zip / ARCHIVE.CFG next >
Text File  |  1993-09-06  |  4KB  |  110 lines

  1. Revision 1.0
  2.  
  3. ; Revision 1.0 requires no indirect or mathematical expressions be evaluated.
  4. ; Until some archiver comes out which makes a file format that requires them,
  5. ; this will remain the case.
  6.  
  7. ; This file will eventually be expanded to be able to extract a directory of
  8. ; the files in an archive.
  9.  
  10. ; The packer names should be chosen to reflect the name of the archive,
  11. ; since they may be displayed to the user to request or display the archive
  12. ; type.
  13.  
  14. ; Any line in this file may be prefixed by an operating-system name.
  15. ; That line will be interpreted by programs running under that operating
  16. ; system only.
  17.  
  18. ; Current operating systems are: OS2 and DOS.
  19.  
  20. ; You should ignore any lines that you don't understand in this file, since
  21. ; this file definition may have been extended at any time.
  22.  
  23. ; This file should be treated totally case-insensitive, and any amount of
  24. ; white space should be allowed at the beginning of a line, or between
  25. ; command-words.  No comments are allowed on any of the command-lines.
  26.  
  27. ; I think I've seen some sort of definition like this before, but I can't
  28. ; remember where I saw it.  Anyways, I encourage everybody to use this file
  29. ; without modification to the structure, unless said modification is cleared
  30. ; through me.  (Just to keep conflicting modifications from occuring.)
  31. ; "ME"="James West" 1:140/26@fidonet.org
  32.  
  33. ; This file should be placed in your path somewhere, and any applications
  34. ; written to use this file should search the path for this file.  You may also
  35. ; use the environment variable "ARCHIVEDEF" to explicitly name this file.
  36.  
  37. ; *************************************************************************
  38. ; ******************* ARCHIVE DEFINITION STATEMENTS ***********************
  39. ; *************************************************************************
  40.  
  41. ; Command usage: "Define TAGNAME {file-offset id-string}"
  42.  
  43. ; The tagname can be any string of up to 63 characters, without spaces.
  44.  
  45. ; The file-offset must be a positive or negative decimal number.
  46. ; A positive number indicates a file position from the start of the file,
  47. ; where 0 is the first byte of the file.
  48. ; A negative number indicates a file position from the end of the file, where
  49. ; -1 is the last byte of the file.
  50.  
  51. ; The id-string must be a sequence of hex bytes strung end-on-end with no
  52. ; spaces between them.
  53.  
  54. ; *************************************************************************
  55. ; ******************** ARCHIVE COMMAND STATEMENTS *************************
  56. ; *************************************************************************
  57.  
  58. ; Command usage: [Extract|Compress] TAGNAME command
  59.  
  60. ; The TAGNAME must match one of the definitions for "Define Archive".
  61.  
  62. ; The commands must contain a "%s" directive, which gives the position
  63. ; for the name of the archive.
  64.  
  65. ; In the compression commands, the list of files will be placed at the end
  66. ; of the command-line.
  67.  
  68. ; WARNING: All extract commands must be executed from the directory where
  69. ; the extraction is to take place.  Some extracters do not accept destination
  70. ; directory parameters, and as such no destination directory parameters should
  71. ; be used for this definition.
  72.  
  73. ; *************************************************************************
  74. ; *********************** STANDARD DEFINITIONS ****************************
  75. ; *************************************************************************
  76.  
  77. ; THE FIRST DEFINITION SHOULD BE THE DEFAULT DEFINITION
  78.  
  79. Define ZIP 0 504b0304
  80. Define ZIP 0 504b0708
  81. Define ARC 0 1a -2 1a00
  82. Define ARC 0 1a -8 504baa55
  83. Define ARJ 0 60ea
  84. Define ARJ 0 fa5460ea
  85. Define LHA 2 2d6c68
  86. Define PAK 0 1a -2 fe00
  87. Define SQZ 2 53515a
  88. Define ZOO 0 5a4f4f
  89.  
  90.     Extract ARC pkunpak -n %s
  91.     Extract ARJ unarj e %s
  92. OS2 Extract LHA lh x /o %s
  93. DOS Extract LHA lha e /m %s
  94.     Extract PAK pak e /wa %s
  95.     Extract SQZ sqz e /o1 %s
  96. OS2 Extract ZIP unzip -xo %s
  97. DOS Extract ZIP pkunzip -o %s
  98.     Extract ZOO zoo e %s
  99.  
  100.     Compress ZIP pkzip -aex %s
  101.     Compress ARC pkpak -otc %s
  102.     Compress ARJ arj a %s
  103. OS2 Compress LHA lh a %s
  104. DOS Compress LHA lha a %s
  105.     Compress PAK pak a %s
  106.     Compress SQZ sqz a %s
  107.     Compress ZOO zoo a %s
  108.  
  109. ; ******************************* END OF FILE ********************************
  110.