home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 9 Archive / 09-Archive.zip / acvt_o32.zip / ACVT.CFG next >
Text File  |  2000-01-09  |  6KB  |  280 lines

  1. ;Copyright (c) Sergey Chehuta. 2000.
  2. ;
  3. ;Configuration file Archive Converter utility
  4. ;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5.  
  6. ;DefaultPacker    rar | zip | arj | uc2 | ha | ...
  7. ;
  8. ;Extension of default packer
  9. DefaultPacker    ZIP
  10.  
  11. ;Log file        Yes | No
  12. Log        Yes
  13.  
  14. ;Keep original datetime    Yes | No
  15. KeepTime    Yes
  16.  
  17. ;Detect type by...    ID  | Ext
  18. Detect        Ext
  19.  
  20. ;ExistArchive        Overwrite | Skip
  21. ;    If target archive already exists skip it or overwrite.
  22. ExistArchive    Skip
  23.  
  24. ;SourceArchive        Delete | Keep
  25. ;    Delete or keep source archive after success conversion.
  26. SourceArchive    Delete
  27.  
  28. ;BreakOnError  Yes | No
  29. ;    The  value of  this option  tells ACVT  whether to  continue
  30. ;    conversion with the  next archive when error  in the current
  31. ;    archive is reported by archiver.  Set  this  option to 'Yes'
  32. ;    if  you  want  ACVT  to stop  process  archives  when  error
  33. ;    occured.
  34. ;
  35. BreakOnError    No
  36.  
  37. ;Add <filename>
  38. ;    Specifies the name of the file  which must be added to every
  39. ;    repacked archive. Full pathname should be provided. Multiple
  40. ;    "Add" strings are allowed.
  41. ;
  42. ;Add C:\ACVT\myarchiv.txt
  43.  
  44. ;Del <filename>
  45. ;    Specifes file(s) that should not be placed into the repacked
  46. ;    archive. Wildcards  using is allowed. Root  directory of the
  47. ;    archive is  assumed if  no full  path given.  Multiple "Del"
  48. ;    strings are allowed.
  49. ;
  50. ;Del    *.bak
  51. Del     *.tmp
  52.  
  53. ;Exec <OS command>
  54. ;    You can set up program call to process files extracted from
  55. ;    the source archive before repacking. For instance, antivirus
  56. ;    program to scan files for computer viruses. Should the program
  57. ;    return non-zero exit code (ERRORLEVEL) the source archive will
  58. ;    not be repacked and corresponding message will be placed into
  59. ;    the log file ACVT.LOG.
  60. ;    Multiple "Exec" strings are allowed.
  61. ;
  62. ;Exec    C:\ANTIVIR\drweb.exe *.* /cl/nm
  63.  
  64.  
  65. ;Id    offset, ID bytes 
  66. ;    Must be first.
  67. ;    offset - position in archive, max 7fh. hexadecimal.
  68. ;    ID bytes (2-digit hex numbers no delimited with spaces).
  69. ;Ext    archive format extension (without dot), parameter of command line
  70. ;Pack    command line for pack
  71. ;Unpack    command line for unpack
  72. ;Test    command line for test
  73. ;Append    any string,  which  will be added  to end  of command line  Pack, 
  74. ;    Unpack, Test. For compatibility with stupid archives.
  75.  
  76. ; Converting zip format
  77. Id    00,504b
  78. Ext    ZIP
  79. Pack    pkzip.exe -a -r -p -whs
  80. Unpack    pkunzip.exe -e -d
  81. Test    pkunzip.exe -t
  82.  
  83. ; Converting rar format
  84. Id    00,526172211a07
  85. Ext    RAR
  86. Pack    rar.exe a -std -c- -r
  87. Unpack    rar.exe x -std -c- -y -av-
  88. Test    rar.exe t -std -c-
  89.  
  90. ; Converting sfxrar format
  91. Id    1c,52534658
  92. Ext    EXE
  93. Pack    rar.exe a -std -sfx -c- -r
  94. Unpack    rar.exe x -std -c- -y -av-
  95. Test    rar.exe t -std -c-
  96.  
  97. ; Converting arj format
  98. Id    00,60ea
  99. Ext    ARJ
  100. Pack    arj.exe a -r -a1
  101. Unpack    arj.exe x -y -v
  102. Test    arj.exe t
  103.  
  104. ; Converting lzh format
  105. Id    02,2d6c68352d
  106. Ext    LZH
  107. Pack    lha.exe a /rxp
  108. Unpack    lha.exe x
  109. Test    lha.exe t
  110.  
  111. ; Converting ice format
  112. Id    02,2d6c68312d
  113. Ext    ICE
  114. Pack    lhice.exe a /r /p
  115. Unpack    lhice.exe x
  116. Test    lhice.exe t
  117.  
  118. ; Converting uc2 format
  119. Id    00,5543321a
  120. Ext    UC2
  121. Pack    uc.exe a -s
  122. Unpack    uc.exe e -f -s
  123. Test    uc.exe t
  124.  
  125. ; Converting ha format
  126. Id    00,4841
  127. Ext    HA
  128. Pack    ha.exe ar
  129. Unpack    ha.exe xy
  130. Test    ha.exe t
  131.  
  132. ; Converting jar format
  133. Id    0e,1a4a61721b
  134. Ext    J
  135. Pack    jar32.exe a -r -y
  136. Unpack    jar32.exe x -y
  137. Test    jar32.exe t
  138.  
  139. ; Converting jar format
  140. ;Id    0e,1a4a61721b
  141. ;Ext    J
  142. ;Pack    jar16.exe a -r
  143. ;Unpack    jar16.exe x
  144. ;Test    jar16.exe t
  145.  
  146. ; Converting ace format
  147. Id    07,2a2a4143452a2a
  148. Ext    ACE
  149. Pack    ace.exe a -r -y
  150. Unpack    ace.exe x -y
  151. Test    ace.exe t -y
  152.  
  153. ; Converting ain format
  154. Id    00,2112
  155. Ext    AIN
  156. Pack    ain.exe a -r
  157. Unpack    ain.exe x
  158. Test    ain.exe t
  159.  
  160. ; Converting imp format
  161. Id    00,494d50
  162. Ext    IMP
  163. Pack    imp.exe a -r -pl
  164. Unpack    imp.exe e
  165. Test    imp.exe t
  166.  
  167. ; Converting cab format
  168. Id    00,4d534346
  169. Ext    CAB
  170. Pack    makecab.exe /d InfFileName=NUL /d RptFileName=NUL /d DiskDirectoryTemplate= /d CabinetName1=
  171. Unpack    extract.exe /e
  172. Test
  173.  
  174. ; Converting esp format
  175. Id    455350
  176. Ext    ESP
  177. Pack    esp.exe /p
  178. Unpack    unesp.exe xs
  179. Test    unesp.exe t
  180.  
  181. ; Converting hpk format
  182. Id    00,4850414b
  183. Ext    HPK
  184. Pack    hpack.exe a -r -da
  185. Unpack    hpack.exe x
  186. Test    hpack.exe t
  187.  
  188. ; Converting hyp format
  189. Id    00,1a4850
  190. Ext    HYP
  191. Pack    hyper.exe -apr
  192. UnPack    hyper.exe -xp
  193. Test
  194.  
  195. ; Converting lim format
  196. Id    00,4c4d1a
  197. Ext    LIM
  198. Pack    limit.exe a -r -p
  199. Unpack    limit.exe e
  200. Test    limit.exe t
  201.  
  202. ; Converting pak format
  203. Id    00,1a
  204. Ext    PAK
  205. Pack    pak.exe a
  206. Unpack    pak.exe e /path
  207. Test
  208.  
  209. ; Converting sar format
  210. ;Id    
  211. ;Ext    SAR
  212. ;Pack    sar.exe a
  213. ;Unpack    sar.exe e
  214. ;Test
  215.  
  216. ; Converting sqz format
  217. Id    00,484c53515a31
  218. Ext    SQZ
  219. Pack    sqz.exe a -s
  220. Unpack    sqz.exe x
  221. Test    sqz.exe    t
  222. Append    *.*
  223.  
  224.  
  225. ; Converting chz format
  226. Id    00,534368
  227. Ext    CHZ
  228. Pack    charc.exe -a -r
  229. Unpack    charc.exe -e -r
  230. Test    charc.exe -t -r
  231.  
  232. ; Converting tar format
  233. Id    00,1f8b08
  234. Ext    TAR
  235. Pack    tar.exe -a
  236. Unpack    tar.exe -xvf
  237. ;Test
  238.  
  239. ; Converting tgz format
  240. ;Id    00,1f8b08
  241. ;Ext    TGZ
  242. ;Pack    
  243. ;Unpack    untgz.exe
  244. ;Test
  245.  
  246. ; Converting x1 format
  247. Id    00,58313c
  248. Ext    X1
  249. Pack    x1.exe a
  250. Unpack    x1.exe xy
  251. Test    x1.exe t
  252.  
  253. ;Id    00,1f8b0808
  254. ;Ext    GZ
  255. ;Pack    gzip.exe
  256. ;Unpack    gzip.exe -d -N
  257. ;Test    gzip.exe -t
  258.  
  259. ; Converting z format
  260. Id    00,135d658c3a0102
  261. Ext    Z
  262. Pack    icomp.exe -c
  263. Unpack    icomp.exe -d
  264. Test
  265.  
  266. ; Converting zoo format
  267. Id    00,5a4f4f
  268. Ext    ZOO
  269. Pack    zoo.exe a
  270. Unpack    zoo.exe x
  271. Test    zoo.exe t
  272. Append    *.*
  273.  
  274. ; Converting arc format
  275. Id    00,1a
  276. Ext    ARC
  277. Pack    pkarc.exe a
  278. Unpack    pkarc.exe e
  279. Test    pkarc.exe t
  280.