/usr/share/doublecmd/doc/en/multiarc.html is in doublecmd-help-en 0.5.5-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><title>External archivers</title>
<link rel="STYLESHEET" type="text/css" href="doublecmd.css"/>
<meta http-equiv="Content-Style-Type" content="text/css">
<style type="text/css"><!--
body {
margin: 5px 5px 5px 5px;
background-color: #ffffff;
}
/* ========== Text Styles ========== */
hr { color: #000000}
body, table /* Normal text */
{
font-size: 10pt;
font-family: 'Arial';
font-style: normal;
font-weight: normal;
color: #000000;
text-decoration: none;
}
span.rvts1 /* Heading */
{
font-weight: bold;
color: #0000ff;
}
span.rvts2 /* Subheading */
{
font-weight: bold;
color: #000080;
}
span.rvts3 /* Keywords */
{
font-style: italic;
color: #800000;
}
a.rvts4, span.rvts4 /* Jump 1 */
{
color: #008000;
text-decoration: underline;
}
a.rvts5, span.rvts5 /* Jump 2 */
{
color: #008000;
text-decoration: underline;
}
span.rvts6
{
font-family: 'Courier New';
color: #000000;
}
span.rvts7
{
font-family: 'Courier New';
font-weight: bold;
color: #0000ff;
}
span.rvts8
{
font-family: 'Courier New';
font-weight: bold;
color: #000080;
}
a.rvts9, span.rvts9
{
font-family: 'Courier New';
color: #008000;
text-decoration: underline;
}
span.rvts10
{
font-size: 12pt;
color: #000000;
}
span.rvts11
{
font-size: 9pt;
color: #000000;
}
span.rvts12
{
font-size: 9pt;
font-weight: bold;
color: #000000;
}
span.rvts13
{
font-size: 9pt;
color: #000000;
text-decoration: underline;
}
span.rvts14
{
font-weight: bold;
color: #000000;
}
span.rvts15
{
font-size: 14pt;
color: #000000;
}
span.rvts16
{
color: #000000;
}
span.rvts17
{
font-size: 9pt;
font-style: italic;
font-weight: bold;
color: #000000;
}
span.rvts18
{
font-size: 9pt;
font-family: 'Courier';
color: #000000;
}
span.rvts19
{
font-size: 9pt;
font-style: italic;
color: #000000;
}
span.rvts20
{
font-family: 'Courier';
font-weight: bold;
color: #000000;
}
span.rvts21
{
font-family: 'Courier';
color: #000000;
}
span.rvts22
{
font-family: 'Courier';
color: #000000;
text-decoration: underline;
}
span.rvts23
{
font-family: 'Courier';
font-weight: bold;
color: #000000;
text-decoration: underline;
}
span.rvts24
{
font-size: 9pt;
font-family: 'Courier';
color: #000000;
text-decoration: underline;
}
span.rvts25
{
font-size: 9pt;
font-family: 'Courier';
font-weight: bold;
color: #000000;
}
span.rvts26
{
font-size: 8pt;
font-family: 'Microsoft Sans Serif';
color: #000000;
}
span.rvts27
{
font-size: 8pt;
font-family: 'Microsoft Sans Serif';
font-weight: bold;
color: #000000;
}
span.rvts28
{
font-size: 7pt;
color: #000000;
}
/* ========== Para Styles ========== */
p,ul,ol /* Paragraph Style */
{
text-align: left;
text-indent: 0px;
padding: 0px 0px 0px 0px;
margin: 0px 0px 0px 0px;
}
.rvps1 /* Centered */
{
text-align: center;
}
.rvps2
{
margin: 8px 0px 0px 0px;
}
.rvps3
{
margin: 8px 0px 4px 0px;
}
.rvps4
{
}
.rvps5
{
text-align: center;
}
.rvps6
{
margin: 8px 0px 1px 0px;
}
.rvps7
{
margin: 8px 0px 4px 0px;
}
.rvps8
{
margin: 8px 0px 0px 0px;
}
.rvps9
{
margin: 8px 0px 1px 0px;
}
.rvps10
{
text-indent: -16px;
margin: 0px 0px 8px 16px;
}
.rvps11
{
text-indent: -8px;
margin: 8px 0px 0px 8px;
}
.rvps12
{
text-indent: -8px;
margin: 8px 0px 0px 8px;
}
.rvps13
{
text-align: center;
text-indent: -8px;
margin: 8px 0px 0px 8px;
}
.rvps14
{
margin: 1px 0px 5px 0px;
}
.rvps15
{
margin: 1px 0px 5px 0px;
}
--></style>
</head>
<body alink=#ff0000>
<div class="TITLEPAGE">
<h1>External archivers</h1>
<hr/>
</div>
<div class="TOC">
<dt class="bold"><a name="TOC">Content</a></dt>
<dl>
<dt>1.1. <a href="#multiarc">Multiarc.ini reference</a></dt>
<dt>1.2. <a href="#listformat">Format parsing</a></dt>
<dt>1.3. <a href="#commandformat">Command definition format</a></dt>
</dl>
</div>
<p>Double Commander uses principle of the work with external arhivers similar to plugin <a href="http://wcx.sourceforge.net/">MultiArc</a> for Total Commander. Most of the explanations are from the help file for this plugin.</p>
<p class=rvps1><a name="multiarc"></a>
<p><br></p>
<p><span class=rvts15>Multiarc.ini reference</span></p>
<p class=rvps2><span class=rvts11> All settings of external archivers is stored in multiarc.ini file. This file is standard INI-file. It contains some sections. Those sections contains keys - the pairs of strings separated by equality sign. Those files is text files and can be edited by every text editor. Every archiver, supported by DC must be described as a separate section in multiarc.ini. See below for detailed info about its structure. There is also special section with name "MultiArc". This sections contains settings that applicable for all archivers - i.e. general settings</span></p>
<p class=rvps2><span class=rvts11>The structure of typical archiver description section: </span></p>
<p class=rvps2><span class=rvts18>[TypeName]</span></p>
<p class=rvps2><span class=rvts18>Parameter = Value of parameter</span></p>
<p class=rvps2><span class=rvts18>Pattern = String representing a pattern</span></p>
<p class=rvps2><span class=rvts18>Command = String representing a command</span></p>
<p class=rvps2><span class=rvts18>Flag = 0 or 1 depending on state of this flag</span></p>
<p class=rvps3><span class=rvts20>TypeName</span><span class=rvts21> is a short name for archive type. It is required and must be unique.</span></p>
<p class=rvps3><span class=rvts22>Example:</span></p>
<p class=rvps3><span class=rvts21>[ARJ] </span></p>
<p class=rvps3><span class=rvts23>Parameters</span></p>
<p class=rvps3><span class=rvts20>Archiver</span><span class=rvts21> Path to archiver utilit. Pach can contain enviropment variable such as %WINDIR% or %COMMANDER_PATH%.</span></p>
<p class=rvps3><span class=rvts20>ID</span><span class=rvts21> (optional) archive ID (2-digit hex numbers delimited with spaces). </span></p>
<p class=rvps3><span class=rvts20>IDPos</span><span class=rvts21> (optional) ID position in archive. If not present, ID will be searched in starting part of archive. You can define the positions with "-" sign. In this case the positions will be calculated from end of file. Special value <SeekID> determinated search ID if not found by numeric values of IDPos. Seek in range 0 - (Smalest of Size of file or IDSeekRange). Values can be writed as decimal (12345) or heximal (03039). For negative values use notation 0xFFFFFFFF (-1).</span></p>
<p class=rvps3><span class=rvts20>IDSeekRange</span><span class=rvts21> (optional) count of bytes where ID seek if defined <SeekID>. By default IDSeekRange = 1Mb. See </span><span class=rvts20>IDPOS</span><span class=rvts21>. </span></p>
<!--
<p class=rvps3><span class=rvts20>ExcludeIDs</span><span class=rvts21> (optional) Signatures if found in file, file defined as the "process imposible".</span></p>
<p class=rvps3><span class=rvts21>This opportunity entered for correct process files, generated InnoSetup, NSIS (NullSoft Instalation System) or other.</span></p>
<p class=rvps3><span class=rvts21>Algoritm of working of parameter:</span></p>
<p class=rvps3><span class=rvts21>If fount ID from </span><span class=rvts20>ID</span><span class=rvts21>, then check ExcludeIDs.</span></p>
<p class=rvps3><span class=rvts21>if found any exclude ID, then file not support by </span><span class=rvts20>Archiver</span><span class=rvts21>. </span></p>
<p class=rvps3><span class=rvts21>Param format: (Signature, [offset], [Absolute]),(Signature, [offset], [Absolute]), .... (Signature, [offset], [Absolute]). </span></p>
<p class=rvps3><span class=rvts21>Where:</span></p>
<p class=rvps3><span class=rvts21>Signature -- sequence of byte for find. </span></p>
<p class=rvps3><span class=rvts21>Absolute -- (optional) Absolute (1) or relative (0) offset. By default = 0. </span></p>
<p class=rvps3><span class=rvts21>If 1, then offset start from begin fiel (if Offset >= 0), or end of file (if Offset <0).</span></p>
<p class=rvps3><span class=rvts21>If 0, then offset start from relative founded ID. See also description of param Offset.</span></p>
<p class=rvps3><span class=rvts21>Offset -- (optional) Offset relatively current ID (if = 0, see from begin of ID, if >0 then on offset byte forward (to end of file) from begin signature (ID), if <0 then on offset byte backwards (to begin of file) from begin signature. By default = 0. See also description of Absolute.</span></p>
<p class=rvps3><span class=rvts21>Example for ExcludeIDs.</span></p>
<p class=rvps3><span class=rvts21>ID= 01 02 03 04, 01 03 02</span></p>
<p class=rvps3><span class=rvts21>IDPOS = 5</span></p>
<p class=rvps3><span class=rvts21>ExcludeIDs= (00, -1), (01 02 03 04 05,0), (06,5), (07,11, 1), (08,-1, 1)</span></p>
<p class=rvps3><span class=rvts21>MultiArc will definedetermine that the file can to be processed if has coincided though one signature from ID, and signatures from ExcludeIDs have not coincided.</span></p>
<p class=rvps3><span class=rvts21>In this example will files which are accepted comprise sequence of byte (xx in the given example any byte):</span></p>
<p class=rvps3><span class=rvts21>0 1 2 3 4 5 6 7 8 </span></p>
<p class=rvps3><span class=rvts21>xx xx xx xx xx 01 02 03 04</span></p>
<p class=rvps3><span class=rvts21>xx xx xx xx xx 01 03 02 xx</span></p>
<p class=rvps3><span class=rvts21>but files which are rejected contain</span></p>
<p class=rvps3><span class=rvts21>0 1 2 3 4 5 6 7 8 9 10 11 12 13 </span></p>
<p class=rvps3><span class=rvts21><br></span></p>
<p class=rvps3><span class=rvts21>xx xx xx xx 00 01 02 03 04 xx xx xx xx xx rule 00, -1</span></p>
<p class=rvps3><span class=rvts21>xx xx xx xx 00 01 03 02 xx xx xx xx xx xx</span></p>
<p class=rvps3><span class=rvts21><br></span></p>
<p class=rvps3><span class=rvts21>xx xx xx xx xx 01 02 03 04 05 xx xx xx xx rule 01 02 03 04 05,0</span></p>
<p class=rvps3><span class=rvts21><br></span></p>
<p class=rvps3><span class=rvts21>xx xx xx xx xx 01 02 03 04 xx xx xx xx 06 rule 06,5</span></p>
<p class=rvps3><span class=rvts21>xx xx xx xx xx 01 03 02 xx xx xx xx 06 xx </span></p>
<p class=rvps3><span class=rvts21><br></span></p>
<p class=rvps3><span class=rvts21>xx xx xx xx xx 01 02 03 04 xx xx 07 xx xx rule 07,11, 1</span></p>
<p class=rvps3><span class=rvts21>xx xx xx xx xx 01 03 02 xx xx xx 07 xx xx</span></p>
<p class=rvps3><span class=rvts21><br></span></p>
<p class=rvps3><span class=rvts21>0 1 2 3 4 5 6 7 8 EOF </span></p>
<p class=rvps3><span class=rvts21>xx xx xx xx xx 01 02 03 04 .............. 08 rule 08,-1, 1</span></p>
<p class=rvps3><span class=rvts21>xx xx xx xx xx 01 03 02 xx .............. 08</span></p>
-->
<p class=rvps3><span class=rvts20>Extension</span><span class=rvts21> archive format extension (without dot). </span></p>
<p class=rvps3><span class=rvts22>Note:</span><span class=rvts21>All above parameters can be defined with multiple values. You can use comma to separate those multiple values. </span></p>
<p class=rvps3><span class=rvts20>Description</span><span class=rvts21> archive description. A short string - version, author etc.</span></p>
<p class=rvps3><span class=rvts22>Example:</span></p>
<p class=rvps3><span class=rvts21>ID = 00 FF, CC DD, 55 EF 32 12,</span></p>
<p class=rvps3><span class=rvts21>IDPos = 0, 0xd, -6, <SeekID></span></p>
<p class=rvps3><span class=rvts21>Extension = hhh, hpj, tzu</span></p>
<p class=rvps3><span class=rvts21>Description="PivkARC v7.1365 (c) by Kon' Petrovich"</span></p>
<p class=rvps3><span class=rvts21>The archives in this example will be checked in the following manner. </span></p>
<p class=rvps3><span class=rvts21>Set to pos 0 and check for every ID defined in ID parameter. Than go to pos 13 and check for all IDs again and try will be at pos 6 before the end of file and last try find IDs in range 0--SizeOfFile or 0--IDSeekRange, or 0--1Mb. If at some of this checks the file will contains some of ID this file will be assumed as supported by this archiver. </span></p>
<p class=rvps3><span class=rvts23>Patterns</span></p>
<p class=rvps3><span class=rvts20>Start</span><span class=rvts21>(optional) any part of line in listing after which processing </span></p>
<p class=rvps3><span class=rvts20>End</span><span class=rvts21> (optional) any part of line in listing to stop processing of files list.</span></p>
<p class=rvps3><span class=rvts22>Note for Start and End patterns:</span><span class=rvts21> If text started from '^', it will be compared from second symbol with lines beginning. Otherwise text looked anywhere in lines.</span></p>
<p class=rvps3><span class=rvts20>Format0 ... Format<n></span><span class=rvts21> - files listing format. If file description in archive listing contains multiple lines use corresponding format keys count. You can define up to 50 format lines.</span></p>
<p class=rvps3><span class=rvts21>Format strings description </span></p>
<p class=rvps3><span class=rvts22>Example:</span></p>
<p class=rvps3><span class=rvts21>Start="^-------"</span></p>
<p class=rvps3><span class=rvts21>End="^Total files listed: "</span></p>
<p class=rvps3><span class=rvts21>Format1="zzzzzzzzzz aaaaa yyyy tt dd hh mm ss"</span></p>
<p class=rvps3><span class=rvts21>Format2=" "</span></p>
<p class=rvps3><span class=rvts23>Commands</span></p>
<p class=rvps3><span class=rvts20>List</span><span class=rvts21> - produce listing.</span></p>
<p class=rvps3><span class=rvts20>Extract</span><span class=rvts21> - extract file(s) from archive with full path.</span></p>
<p class=rvps3><span class=rvts20>ExtractWithoutPath</span><span class=rvts21> - extract file(s) from archive without full path.</span></p>
<p class=rvps3><span class=rvts20>Test</span><span class=rvts21> - test archive.</span></p>
<p class=rvps3><span class=rvts20>Delete</span><span class=rvts21> - delete file from archive.</span></p>
<p class=rvps3><span class=rvts20>Add</span><span class=rvts21> - add file to archive.</span></p>
<p class=rvps3><span class=rvts20>AddSelfExtract</span><span class=rvts21> - create self extracting archive.</span></p>
<p class=rvps3><span class=rvts20>InputString</span><span class=rvts21> - insert some string into archivers utility input stream. This is used to emulate pressing some keys at start of archiver. Used for some shareware utilities that requires press Y before work. =-)</span></p>
<p class=rvps3><span class=rvts22>Note:</span><span class=rvts21> All command excluding InputString use command definition format </span></p>
<p class=rvps3><span class=rvts23>Flags</span></p>
<p class=rvps3><span class=rvts20>IgnoreErrors</span><span class=rvts21> if active - archiver commands exit code will be ignored. Use with caution.</span></p>
<p class=rvps3><span class=rvts20>SkipEmpty</span><span class=rvts21> files with empty names will not be added to list</span></p>
<p class=rvps3><span class=rvts20>FormMode</span><span class=rvts21> format parsing mode, it is the sum of the following values:</span></p>
<p class=rvps2><span class=rvts18> 1 - use Unix path delimiter (/)</span></p>
<p class=rvps2><span class=rvts18> 2 - use Windows path delimiter (\)</span></p>
<p class=rvps2><span class=rvts18> 4 - use Unix file attributes</span></p>
<p class=rvps2><span class=rvts18> 8 - use Windows file attributes</span></p>
<p class=rvps3><span class=rvts20>Debug</span><span class=rvts21> if this flag activated - all archiving utility output will be written to log file, laying in same directory as multiarc.wcx and named "multiarc.%TYPENAME%.log" where %TYPENAME% is TypeName of corresponding archiver description. If some list files used in commands, those files also will be not removed after performing command. Look into %TEMP%/$mltwcx directory for those files. Activate this flag only if you going to track all activity. It is needed during writing new addons. Do not use it if you not need it! This log file can eat your free disk space very quick! =-) You warned.</span></p>
<!--
<p class=rvps2><span class=rvts20>SkipSfxHeader</span><span class=rvts21> default false. Determines whether to skip the SFX part of the archive during archive ID search. Example:</span></p>
<p class=rvps2><span class=rvts21>7z SFX-Archive, the archive itself is located after the FSX part, so it can be skipped. SkipSfxHeader = 1. </span></p>
<p class=rvps2><span class=rvts21>InnoSetup Installation. </span><span class=rvts20>ID</span><span class=rvts21> is in the SFX part of the file, so it is not necessary to skip it.SkipSfxHeader = 0.</span>
-->
<span class=rvts11> </span></p>
<p class=rvps9><span class=rvts15><br></span></p>
<p class="NAVBACK"><a href="#TOC">Top</a></p>
<p><br></p>
<p><br></p>
<p class=rvps1><a name="listformat"></a>
<p><br></p>
<p><span class=rvts15>Format parsing</span></p>
<p class=rvps2><span class=rvts11> To parse file listing MultiArc uses FormatN-pattern. If file list uses some strings to output information about every file in the archive use corresponding count of Format-patterns. The Format-pattern is a string defining mask for extraction information from single strings of files list. It uses following symbols to define pattern: </span></p>
<p class=rvps2><span class=rvts18>; n - file name</span></p>
<p class=rvps2><span class=rvts18>; z - unpacked size</span></p>
<p class=rvps2><span class=rvts18>; c - file description</span></p>
<p class=rvps2><span class=rvts18>; p - packed size</span></p>
<p class=rvps2><span class=rvts18>; d - day</span></p>
<p class=rvps2><span class=rvts18>; t - month</span></p>
<p class=rvps2><span class=rvts18>; TTT - three letters month name (Jan, Feb, Mar, ...)</span></p>
<p class=rvps2><span class=rvts18>; y - year</span></p>
<p class=rvps2><span class=rvts18>; h - hours</span></p>
<p class=rvps2><span class=rvts18>; H - hours modifier letter (a - a.m. time, p - p.m. time)</span></p>
<p class=rvps2><span class=rvts18>; m - minutes</span></p>
<p class=rvps2><span class=rvts18>; s - seconds</span></p>
<p class=rvps2><span class=rvts18>; a - attributes</span></p>
<p class=rvps2><span class=rvts18>; e - file extension</span></p>
<p class=rvps2><span class=rvts18>; ? - skip one symbol</span></p>
<p class=rvps2><span class=rvts18>; * - skip until first space or end of line</span></p>
<p class=rvps2><span class=rvts24>Example:</span><span class=rvts18> </span></p>
<p class=rvps2><span class=rvts18>The part of JAR output log:</span></p>
<p class=rvps2><span class=rvts18>346) install\f_0286</span></p>
<p class=rvps2><span class=rvts18> 3656 A.... Win-32 Solid 1-1 2002-07-11 13:36:26 2002-12-09 20:41:20</span></p>
<p class=rvps2><span class=rvts18> 26 2002-12-09 00:00:00</span></p>
<p class=rvps2><span class=rvts18>347) install\f_0287</span></p>
<p class=rvps2><span class=rvts18> 11323 A.... Win-32 Solid 1-1 2002-07-11 13:36:26 2002-12-09 20:41:20</span></p>
<p class=rvps2><span class=rvts18> 26 2002-12-09 00:00:00</span></p>
<p class=rvps2><span class=rvts18>and corresponding format patterns:</span></p>
<p class=rvps2><span class=rvts18>Format0="* nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn"</span></p>
<p class=rvps2><span class=rvts18>Format1="zzzzzzzzzz aaaaa yyyy tt dd hh mm ss"</span></p>
<p class=rvps2><span class=rvts18>Format2=" "</span></p>
<p class=rvps2><span class=rvts18> </span><span class=rvts11> </span></p>
<p class=rvps9><span class=rvts15><br></span></p>
<p class="NAVBACK"><a href="#TOC">Top</a></p>
<p><br></p>
<p><br></p>
<p class=rvps1><a name="commandformat"></a>
<p><br></p>
<p><span class=rvts15>Command definition format</span></p>
<p class=rvps2><span class=rvts11> Command is string that contains variables. Those variables has the "%"-sign before them and will be substituted during command call. </span></p>
<p class=rvps2><span class=rvts18>The list of command variables:</span></p>
<p class=rvps2><span class=rvts18><br></span></p>
<p class=rvps2><span class=rvts18> %P - long name of archiving utility (as it is in "Archiver" key)</span></p>
<p class=rvps2><span class=rvts18> %p - short name of archiving utility (as it is in "Archiver" key)</span></p>
<p class=rvps2><span class=rvts18> %A - long name of archive file</span></p>
<p class=rvps2><span class=rvts18> %a - short name of archive file</span></p>
<p class=rvps2><span class=rvts18> %L - Filelist name. Filelist is the file containing names of files </span></p>
<p class=rvps2><span class=rvts18> to be processed by the external archiver. File names is long</span></p>
<p class=rvps2><span class=rvts18> %l - Filelist with short file names.</span></p>
<p class=rvps2><span class=rvts18> %F - The name of a single file to process. The archiver will be</span></p>
<p class=rvps2><span class=rvts18> executed several times until all file names are exhausted.</span></p>
<p class=rvps2><span class=rvts18> This variable should be used only if the destination archiver</span></p>
<p class=rvps2><span class=rvts18> does not support filelists on the command line.</span></p>
<p class=rvps2><span class=rvts18> %V - The volume size (for multivolume archive).</span></p>
<p class=rvps2><span class=rvts18> %W - The password.</span></p>
<p class=rvps2><span class=rvts18> %E<errorlevel> - maximum acceptable command errorlevel.</span></p>
<p class=rvps2><span class=rvts18> For example, %E2 indicates that errorlevels 0, 1 and 2</span></p>
<p class=rvps2><span class=rvts18> are acceptable. This variable may be specified in any place</span></p>
<p class=rvps2><span class=rvts18> of command. If it is absent, only errorlevel 0 is considered</span></p>
<p class=rvps2><span class=rvts18> as successful.</span></p>
<p class=rvps2><span class=rvts18> %O - by default, multiarc convert archiver output from OEM encoding to ANSI.</span></p>
<p class=rvps2><span class=rvts18> Applying it skip encoding.</span></p>
<p class=rvps2><span class=rvts18><br></span></p>
<p class=rvps2><span class=rvts18> %R - Target subdirectory IN archive</span></p>
<p class=rvps2><span class=rvts18><br></span></p>
<p class=rvps2><span class=rvts18> {} - if some variable is enclosed in braces - it'll be added only if</span></p>
<p class=rvps2><span class=rvts18> this variable will contain something non-empty. See MsCAB addon</span></p>
<p class=rvps2><span class=rvts18> for example using. </span></p>
<p class=rvps2><span class=rvts18> </span></p>
<p class=rvps2><span class=rvts18> %S - Depends on modes, set in configuration dialog, MultiArc will ask </span></p>
<p class=rvps2><span class=rvts18> user about additional command-line parameters should be passed </span></p>
<p class=rvps2><span class=rvts18> in-place of %S</span></p>
<!--
<p class=rvps2><span class=rvts18><br></span></p>
<p class=rvps2><span class=rvts18> %C - Do not hide console window during running external archiver utilities.</span></p>
<p class=rvps2><span class=rvts18> The console settings has more configuration options - see configure dialog.</span></p>
-->
<p class=rvps2><span class=rvts18><br></span></p>
<p class=rvps2><span class=rvts18><br></span></p>
<p class=rvps2><span class=rvts18> Variable modifiers F, Q, q, W, P, A, U can be used to change file names </span></p>
<p class=rvps2><span class=rvts18> format details:</span></p>
<p class=rvps2><span class=rvts18><br></span></p>
<p class=rvps3><span class=rvts18> F - include in FileList only files (can be used with %L and %l variables);</span></p>
<p class=rvps2><span class=rvts18> Q - quote names with spaces;</span></p>
<p class=rvps2><span class=rvts18> q - quote all names;</span></p>
<p class=rvps2><span class=rvts18> W - use name only, without path;</span></p>
<p class=rvps2><span class=rvts18> P - use path only, without name;</span></p>
<p class=rvps2><span class=rvts18> A - use ANSI encoding.</span></p>
<p class=rvps2><span class=rvts18> U - use UTF-8 encoding.</span></p>
<p class=rvps2><span class=rvts18><br></span></p>
<p class=rvps2><span class=rvts18> These modifiers may be specified immediately after variables without </span></p>
<p class=rvps2><span class=rvts18> spaces.</span><span class=rvts11> </span></p>
<p class=rvps2><span class=rvts11>See the addons for real examples of commands.</span></p>
<p class=rvps2><span class=rvts12>Note:</span></p>
<p class=rvps2><span class=rvts11> If archiver utility located in path with non English chars, and you see message like this: </span></p>
<p class=rvps2><span class=rvts11>"Executing command 'C:\Documents and Settings\ a(r)\ ?(r)c?(c) aa(r)"\7za.exe -r0 l D:\same path\7zSfx.7z' returned errorlevel -1. Possibly an error occurred. Archive listing wasn't retrieved."</span></p>
<p class=rvps2><span class=rvts11>or like this: </span></p>
<p class=rvps2><span class=rvts11>"Executed command 'C:\Documents and Settings\ a(r)\ ?(r)c?(c) aa(r)"\7za.exe -r0 l D:\same path\7zSfx.7z' returned errorlevel -1, which is higher than configured as normal for this command. Probably error occurred. Check your configuration, please..."</span></p>
<p class=rvps2><span class=rvts11>Replace in Multiarc.ini on section appropriate archiver parameters </span><span class=rvts12>Extract</span><span class=rvts11>, </span><span class=rvts12>ExtractWithoutPath</span><span class=rvts11>, </span><span class=rvts12>Test</span><span class=rvts11>, </span><span class=rvts12>Delete</span><span class=rvts11>, </span><span class=rvts12>Add</span><span class=rvts11> from %P to %PA or %PQA.</span></p>
<p class=rvps9><span class=rvts15><br></span></p>
<p class="NAVBACK"><a href="#TOC">Top</a></p>
<p><br></p>
<div class="SECT1">
<p class="NAVBACK"><a href="index.html">Home</a></p>
</div>
<p><br></p>
</body></html>
|