home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Spezial / SPEZIAL2_97.zip / SPEZIAL2_97.iso / ANWEND / PACKER / RAR201P / rararc2.cfg < prev    next >
Text File  |  1997-02-10  |  4KB  |  131 lines

  1. ;
  2. ; ******    *****   ******        The RAR Archiver for OS/2
  3. ; **   **  **   **  **   **       ~~~~~~~~~~~~~~~~~~~~~~~~~
  4. ; ******   *******  ******        Multifunctional Integrated Archive Manager
  5. ; **   **  **   **  **   **       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  6. ; **   **  **   **  **   **       External archiver configuration file
  7. ;                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  8. ;
  9. ; This configuration file is intended to define external programs
  10. ; which RAR should call to process ZIP, ARJ and LZH archives.
  11. ; Actually it contains three sections of following format:
  12. ;
  13. ; .ZIP
  14. ; <commands to process zip archives>
  15. ; <switches to process zip archives>
  16. ;
  17. ; .ARJ
  18. ; <commands to process arj archives>
  19. ; <switches to process arj archives>
  20. ;
  21. ; .LZH
  22. ; <commands to process lzh archives>
  23. ; <switches to process lzh archives>
  24. ;
  25. ;
  26. ; Commands:
  27. ;
  28. ; TEST - Test
  29. ; EXTR - Extract
  30. ; ACMT - Read archive comment from standard input
  31. ; EXNP - Extract without path
  32. ; CSFX - Convert to SFX
  33. ; FDEL - Delete
  34. ; FCMT - Read file comment from standard input
  35. ;
  36. ;
  37. ; Switches:
  38. ;
  39. ; WDIR - Work directory
  40. ; PSWD - Password
  41. ; LIST - List file
  42. ; MASK - File mask
  43. ;
  44. ;
  45. ; Command syntax:
  46. ;
  47. ; <command><path divider><'match all' wildcard><switch usage>:<command line>
  48. ;
  49. ;  <path divider> specifies character used in arguments to divide path parts
  50. ;
  51. ;  <'match all' wildcard> is '.' or '*'. If it is '.' then the actual
  52. ;    wilcard '*.*' to match all files in archive or archive directory is
  53. ;    used. If it is '*', the actual wildcard is '*'.
  54. ;
  55. ;  <switch usage> contains 4 characters of '+' or '-'. Each character
  56. ;    denotes the corresponding switch number (1 to 4) usage. Where '+'
  57. ;    means "add the switch" to the resulting command line.
  58. ;
  59. ;  %% is expanded to the archive name
  60. ;
  61. ; The command EXNP with the switch MASK is used to view files in archive.
  62. ; Therefore if you want to view files in archive, EXNP and MASK must be
  63. ; defined.
  64. ;
  65. ;
  66. ; Switch syntax:
  67. ;
  68. ; <switch><placement>:<switch string>
  69. ;     if <placement>=='-' switch is placed before archive name,
  70. ;     if <placement>=='+' switch is placed after archive name in command line.
  71. ;
  72. ;  %% is expanded to:
  73. ;     - the work directory in WDIR;
  74. ;     - the password in PSWD;
  75. ;     - the list file with argument names in LIST;
  76. ;     - one or more arguments in MASK.
  77. ;
  78. ;     MASK should be used if the archiver cannot work with a list file.
  79. ;     In that case archiver is called several times with arguments directly
  80. ;     to process all arguments. Number of arguments placed in command line
  81. ;     depends upon their length.
  82. ;
  83. ; WARNING:    All parts of commands and switches must be specified
  84. ;             even if they seem to be not important. Though it is
  85. ;             normal to not specify a command or a switch at all
  86. ;             if it is not implemented in particular archiver.
  87. ;
  88. ; ATTENTION:  Some function of DOS archivers are absent in versions for OS/2
  89. ;             so the whole ARJ's section and CSFX command in ZIP' and LZH'
  90. ;             sections are set to call DOS archiver.
  91. ;
  92. .ZIP
  93. ; Commands:
  94. TEST/*---+:unzip -t "%%"
  95. EXTR/*---+:unzip "%%"
  96. ACMT/*----:zip -z "%%"
  97. EXNP/*---+:unzip -j "%%"
  98. CSFX/*----:zip2exe "%%"
  99. FDEL/*---+:zip -d "%%"
  100. FCMT/*---+:zip -z "%%"
  101. ; Switches:
  102. WDIR-:-b"%%"
  103. PSWD-:-ee"%%"
  104. MASK+:"%%"
  105. ;
  106. .ARJ
  107. ; Commands:
  108. TEST\.+++-:arj t "%%"
  109. EXTR\.+-+-:arj x "%%"
  110. ACMT\.+---:arj c -z "%%"
  111. EXNP\.+++-:arj e "%%"
  112. CSFX\.----:arj y -je "%%"
  113. FDEL\.+++-:arj d "%%"
  114. FCMT\.+-+-:arj c "%%"
  115. ; Switches:
  116. WDIR-:-w"%%"
  117. PSWD-:-g"%%"
  118. LIST+:!"%%"
  119. MASK+:"%%"
  120. ;
  121. .LZH
  122. ; Commands:
  123. TEST\*---+:lh t "%%"
  124. EXTR\*---+:lh x /a /s /e "%%"
  125. EXNP\*---+:lh x /a /e "%%"
  126. CSFX\*----:lha s "%%"
  127. FDEL\*---+:lh d "%%"
  128. ; Switches:
  129. MASK+:"%%"
  130.  
  131.