home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Black Box 4
/
BlackBox.cdr
/
archiver
/
peek_221.arj
/
PEEK.TXT
< prev
next >
Wrap
Text File
|
1992-01-24
|
3KB
|
130 lines
; This sample file will create a PEEKER.CTL file when you run XPEEK.COM
; on it. Type XPEEK PEEK.TXT at the DOS prompt
;
; Any line beginning with ; is a comment
; No line should exceed 80 chars in length
;
; The first entry is the default entry (if no extensions match):
;
; First, the filename extension this archiver uses
; This is also the extension Peeker checks to guess what kind of
; archive it's trying to list/extract from
PAK
; Second, the command to move files into an archive
PAK.EXE M
; Third, the command to extract files from an archive
PAK.EXE E /WA
; Fourth, the command to list the contents of an archive
PAK.EXE V /R
; Fifth, the string which indicates an error or that file is not an archive
is not an archive.
; Sixth, what line does the program (usually) put the errorstring on?
; You can fudge this one high if you want...
7
; Seventh, what is the exact name of the archive making/listing program?
; Peeker checks to be sure you really have it on your DOS Path before
; shelling to it...
PAK.EXE
; Eighth, what is the exact name of the archive extracting program?
PAK.EXE
; Ninth, the prompt for picking this archiver to repack files
; Peeker displays "Do you want your archive:" then lists these...
[P]AKed
; Tenth, the key that will select this particular archiver to repack...
P
; Eleventh and last, how many lines to skip when reading the contents?
5
; End of the first entry. Other follow the same format...
ZIP
PKZIP.EXE -m
PKUNZIP.EXE -o
; Note you could change the next one to -vt for technical listings...
PKZIP.EXE -vn
- error in ZIP
6
PKZIP.EXE
PKUNZIP.EXE
PK[Z]ipped
Z
5
; End of second entry. Note that we will now put ZIP in again for .EXE
; extensions, so it will be tried on both .ZIP's and .EXE's
EXE
PKZIP.EXE -m
PKUNZIP.EXE -o
PKZIP.EXE -vn
- error in ZIP
6
PKZIP.EXE
PKUNZIP.EXE
; Note the next two are blank so you don't get two PKZIP prompts...
; You can blank these out on any archiver you don't want to offer for
; repacking...
5
; PK(X)ARC next...
PKA
PKARC.EXE M
PKXARC.EXE -R
PKARC.EXE V
- error in archive
6
PKARC.EXE
PKXARC.EXE
P[K]Arced
K
5
; An example of substituting one archiver for another in compatibility mode
; Peeker would name a file made with this as XFILE.ARC, whereas the
; previous entry for PK(X)ARC would make XFILE.PKA. You could use PAK
; for both PK(X)ARC's and ARC's, but PK(X)ARC is so much faster...
ARC
PKARC.EXE -OCT M
PKXARC.EXE -R
PKARC.EXE V
- error in archive
6
PKARC.EXE
PKXARC.EXE
[A]rced
A
5
; Zoo's turn now...
ZOO
ZOO.EXE a:M
ZOO.EXE xO
ZOO.EXE V
ERROR:
3
ZOO.EXE
ZOO.EXE
Z[O]oed
O
2
; LHArc next and last, but feel free to add your own...
LZH
LHA.EXE m /m
LHA.EXE e /m
LHA.EXE l
no file
5
LHA.EXE
LHA.EXE
[L]Harced
L
2
; Source archives sometimes have this extension
; and note old archiving method
SZH
LHA.EXE m /mo
LHA.EXE e /m
LHA.EXE l
no file
5
LHA.EXE
LHA.EXE
LHarced-[1]-
1
2