home *** CD-ROM | disk | FTP | other *** search
- ; ========================================
- ; Sampleconfiguration for the archiver
- ; ========================================
- ;
- ; Archiverdefinitions
- ;
- ; The integrated archiversupport of MaxList can each archiver use,
- ; which are on the market itself or still is developed.
- ; Through a low number of parameters the archiver becomes to use.
- ; The format of this definition is 100% identical with Squish
- ; Compress.cfg
- ;
- ; Archiver, End Archiver
- ; Syntax: ARCHIVER <Name>
- ;
- ; <name> is a short description of the archiver. This name is used
- ; as reference for this.
- ; Each definition begins with ARCHIVER <name> and stops at END ARCHIVER.
- ;
- ; Extension
- ; Syntax: EXTENSION <Ext>
- ;
- ; With this, you can select an EXTension for the archiver.
- ; Whenever MaxList will compress a filelist, this EXTension is used
- ; for the packed file.
- ;
- ; Ident
- ; Syntax: IDENT <Offset, Signature>
- ;
- ; Over this both parameters, MaxList will detect the archivertype.
- ; <Offset> can hold a positive or negative numerical parameter.
- ; This presents the number of bytes to the signature of archive.
- ; When you use a positive offset, the signature search is started from
- ; begin of file, otherwise (negative offset) from the end of file. The
- ; first position in file is identical with offset = 0, the end with -0.
- ;
- ; Signature must be defined as a sequenz of HEXADECIMAL characters.
- ; For each byte, you MUST use two characters.
- ; Do NOT insert blanks between each character!
- ;
- ; Add
- ; Syntax: ADD <Progname [Parameter] %a %f>
- ;
- ; With the ADD entry, you define the program and parameters which
- ; MaxList use, when a packing is executed.
- ; The macros %a and %f must be define always.
- ; Those parameters (%a archive and %f filename) are replaced, before call.
- ;
- ; Extract
- ; Syntax: EXTRACT <Progname [Parameter] %a %f>
- ;
- ; With this token, you define the program and needed parameters for
- ; extract a file from archive.
- ; The macros %a and %f must be define always.
- ; Those parameters (%a archive and %f filename) are replaced, before call.
- ;
- ; View
- ; Syntax: VIEW <Progname [Parameter] %a>
- ;
- ; Not used by MaxList. Only for compatibility.
- ;
- ; ! HINT !
- ; You can add the token DOS or OS2 before each line.
- ; So you can define the archiver for DOS and OS/2 in the same block / file.
- ; If MaxList running under DOS, all lines which starts with OS2 are still
- ; ignored, when reading the config.
- ;
- Archiver ARC
- Extension ARC
- Ident 0, 1a
- OS2 Add arc2 aw5 %a %f
- DOS Add arc a5 %a %f
- OS2 Extract arc2 xw %a %f
- DOS Extract pkxarc -x %a %f
- End Archiver
- ;
- DOS Archiver PAK
- DOS Extension PAK
- DOS Ident -2, fe
- DOS Add pak a %a %f
- DOS Extract pak e /wn %a %f
- DOS End Archiver
- ;
- Archiver ZIP
- Extension ZIP
- Ident 0, 504b0304 ; "PK^c^d"
- DOS Add pkzip -a %a %f
- OS2 Add zip -jk %a %f
- DOS Extract pkunzip -n %a %f
- OS2 Extract unzip -n -j %a %f
- ;
- ; HINT !
- ; for never version of OS/2 Unzip (greater 5.01) you must use
- ; following line for extract:
- ;
- ; OS2 Extract Unzip -n -j -C %a %f
- ;
- End Archiver
- ;
- Archiver LHarc
- Extension LZH
- Ident 2, 2d6c68 ; "-lh"
- DOS Add lha a /m %a %f
- OS2 Add lh a %a %f
- DOS Extract lha e /m %a %f
- OS2 Extract lh x %a %f /o
- End Archiver
- ;
- Archiver ARJ
- Extension ARJ
- Ident 0, 60ea
- DOS Add arj a -e+ %a %f
- OS2 Add ;--- ARJ not supported under OS/2
- DOS Extract arj e -n %a %f
- OS2 Extract unarj e %a %f
- End Archiver
- ;
- Archiver RAR
- Extension RAR
- Ident 0, 52617221
- DOS Add rar a -std -c- -ep1 %a %f
- OS2 Add rar a -std -c- -ep1 %a %f
- OS2 Extract rar x -std -c- -ep1 -y %a %f
- DOS Extract rar x -std -c- -ep1 -y %a %f
- End Archiver
- ;
- DOS Archiver UC
- DOS Extension UC2
- DOS Ident 0, 554332
- DOS Add uc A -F -S %a %f
- DOS Extract uc E -F -S %a %f
- DOS End Archiver
- ;
- DOS Archiver ZOO
- DOS Extension ZOO
- DOS Ident 0,5a4f4f
- DOS Add zoo a: %a %f
- DOS Extract zoo e:O %a %f
- DOS View zoo v %a
- DOS End Archiver
- ;
-