home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 2 BBS
/
02-BBS.zip
/
qnos2207.zip
/
ARCHIVE.CFG
next >
Wrap
Text File
|
1993-09-06
|
4KB
|
110 lines
Revision 1.0
; Revision 1.0 requires no indirect or mathematical expressions be evaluated.
; Until some archiver comes out which makes a file format that requires them,
; this will remain the case.
; This file will eventually be expanded to be able to extract a directory of
; the files in an archive.
; The packer names should be chosen to reflect the name of the archive,
; since they may be displayed to the user to request or display the archive
; type.
; Any line in this file may be prefixed by an operating-system name.
; That line will be interpreted by programs running under that operating
; system only.
; Current operating systems are: OS2 and DOS.
; You should ignore any lines that you don't understand in this file, since
; this file definition may have been extended at any time.
; This file should be treated totally case-insensitive, and any amount of
; white space should be allowed at the beginning of a line, or between
; command-words. No comments are allowed on any of the command-lines.
; I think I've seen some sort of definition like this before, but I can't
; remember where I saw it. Anyways, I encourage everybody to use this file
; without modification to the structure, unless said modification is cleared
; through me. (Just to keep conflicting modifications from occuring.)
; "ME"="James West" 1:140/26@fidonet.org
; This file should be placed in your path somewhere, and any applications
; written to use this file should search the path for this file. You may also
; use the environment variable "ARCHIVEDEF" to explicitly name this file.
; *************************************************************************
; ******************* ARCHIVE DEFINITION STATEMENTS ***********************
; *************************************************************************
; Command usage: "Define TAGNAME {file-offset id-string}"
; The tagname can be any string of up to 63 characters, without spaces.
; The file-offset must be a positive or negative decimal number.
; A positive number indicates a file position from the start of the file,
; where 0 is the first byte of the file.
; A negative number indicates a file position from the end of the file, where
; -1 is the last byte of the file.
; The id-string must be a sequence of hex bytes strung end-on-end with no
; spaces between them.
; *************************************************************************
; ******************** ARCHIVE COMMAND STATEMENTS *************************
; *************************************************************************
; Command usage: [Extract|Compress] TAGNAME command
; The TAGNAME must match one of the definitions for "Define Archive".
; The commands must contain a "%s" directive, which gives the position
; for the name of the archive.
; In the compression commands, the list of files will be placed at the end
; of the command-line.
; WARNING: All extract commands must be executed from the directory where
; the extraction is to take place. Some extracters do not accept destination
; directory parameters, and as such no destination directory parameters should
; be used for this definition.
; *************************************************************************
; *********************** STANDARD DEFINITIONS ****************************
; *************************************************************************
; THE FIRST DEFINITION SHOULD BE THE DEFAULT DEFINITION
Define ZIP 0 504b0304
Define ZIP 0 504b0708
Define ARC 0 1a -2 1a00
Define ARC 0 1a -8 504baa55
Define ARJ 0 60ea
Define ARJ 0 fa5460ea
Define LHA 2 2d6c68
Define PAK 0 1a -2 fe00
Define SQZ 2 53515a
Define ZOO 0 5a4f4f
Extract ARC pkunpak -n %s
Extract ARJ unarj e %s
OS2 Extract LHA lh x /o %s
DOS Extract LHA lha e /m %s
Extract PAK pak e /wa %s
Extract SQZ sqz e /o1 %s
OS2 Extract ZIP unzip -xo %s
DOS Extract ZIP pkunzip -o %s
Extract ZOO zoo e %s
Compress ZIP pkzip -aex %s
Compress ARC pkpak -otc %s
Compress ARJ arj a %s
OS2 Compress LHA lh a %s
DOS Compress LHA lha a %s
Compress PAK pak a %s
Compress SQZ sqz a %s
Compress ZOO zoo a %s
; ******************************* END OF FILE ********************************