1
2;               Example Compress.Cfg definition file
3;
4; If you are already using a Compress.Cfg file with other programs,
5; you do not need this one.
6; Just make sure you use the correct switches to avoid case mismatch
7; with case sensitive archivers, as ZIP/UNZIP.
8;
9; The DOS prefix is for the W32 version too.
10
11
12Archiver ARC
13     Extension     ARC
14     Ident         0,1a
15OS2  Add           arc aw5 %a %f
16DOS  Add           pkpak -oct a %a %f
17OS2  Extract       arc ew %a %f
18DOS  Extract       pkunpak /r %a %f
19OS2  View          arc vw %a
20DOS  View          pkpak v %a
21End Archiver
22
23
24DOS Archiver PAK
25DOS     Extension       PAK
26DOS     Ident           -2,fe
27DOS     Add             pak a %a %f
28DOS     Extract         pak e /wn %a %f
29DOS     View            pak v %a
30DOS End Archiver
31
32
33Archiver ZIP
34     Extension     ZIP
35     Ident         0,504b0304
36OS2  Add           zip -jk %a %f        ; store in uppercase
37DOS  Add           pkzip -a %a %f
38OS2  Extract       unzip -qqnjC %a %f   ; case insensitive extract
39DOS  Extract       pkunzip -n %a %f
40OS2  View          unzip -v %a
41DOS  View          pkzip -v %a
42End Archiver
43
44
45Archiver LH
46     Extension     LZH
47     Ident         2,2d6c68                        ; "-lh"
48OS2  Add           lh a %a %f
49DOS  Add           lha a /m %a %f
50OS2  Extract       lh x %a %f /o
51DOS  Extract       lha e /m %a %f
52OS2  View          lh l %a /v /o
53DOS  View          lha l %a
54End Archiver
55
56
57Archiver ARJ
58     Extension     ARJ
59     Ident         0,60ea
60DOS  Add           arj a -e+ %a %f
61OS2  Extract       unarj e %a %f
62DOS  Extract       arj e -n %a %f
63OS2  View          unarj l %a
64DOS  View          arj l %a
65End Archiver
66
67
68Archiver RAR
69     Extension     RAR
70     Ident         0,526172211a0700
71     Add           rar a -ee -md64 -ep -y -std -c- %a %f
72     Extract       rar e -o- -y -std -c- %a %f
73     View          rar v -y -std -c- %a
74End Archiver
75
76
77