|
arj Архив
#34257658
Ссылка:
Ссылка на сообщение:
Ссылка с названием темы:
Ссылка на профиль пользователя:
|
Участник
Откуда: Тропик Скорпиона
Сообщения: 48 256
|
|
ARJ.EXE /?
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.
Example ARJ commands:
Add files minus directory structure: ARJ a -e archive *.*
Add two files to archive: ARJ a archive name1 name2
Add files to archive with verification: ARJ a -jt archive *.*
Add files with maximum compression: ARJ a -jm archive *.*
Add thousands of files to an archive: ARJ a -hm1 -r archive *.*
Add a chapter to an archive: ARJ ac archive c:\dir\*.* -r
Comment archive header only: ARJ c archive -zcmt.fil
Convert standard archive to chapter: ARJ cc archive
Convert chapter archive to standard: ARJ y archive -jb0
Delete the last chapter from an archive: ARJ dc archive *.*
Strip archive comment only: ARJ c archive -zNUL
Extract files from archive: ARJ e archive
Extract maintaining directory structure: ARJ x archive
Extract new and newer files without query: ARJ e archive -u -y
Extract subdirectory from archive: ARJ e archive subdir\*.* -p1
Extract files to directory: ARJ x archive destdir\ *.*
Extract files to directory: ARJ x archive *.* -htdestdir
Extract files to directory with space: ARJ x archive "Program Files\\"
--More--?
--More--?
Extract a Win95 archive to plain DOS: ARJ x archive -hf2
List files in archive: ARJ l archive
Move files to archive: ARJ m archive *.doc
Move files from archive: ARJ e -d archive *.doc
Test integrity of files in archive: ARJ t archive
Test multiple ARJ archives: ARJ t *.ARJ -hr
Add files to a multiple volume archive: ARJ a -va a:archive *.*
Create up to 999 archive volumes: ARJ a -va a:archive. 001
Extract from a multiple volume archive: ARJ x -v a:archive
Create a multiple volume self-extractor: ARJ a -va -je a:archive *.*
Convert archive to self-extractor: ARJ y -je1 archive
Backup drive C to drive A:
ARJ a A:\backup C:\ -a1 -b2 -r -vvas -wC:\ -js -jt -hk
Restore backup on drive A to drive C: ARJ x A:\backup C:\ -vv -y
More detailed ARJ information:
Usage: ARJ <command> [{/|-}<switch>[-|+|<option>]...] <archive_name>[.ARJ]
[<base_directory_name>\] [<!list_name>|<path_name>|<wild_name>...]
or
ARJ @response_filename [ -& | -+ ]
<Commands>
ac: Add Chapter to chapter archive m: Move files to archive
cc: Convert archive to Chapter archive n: reName files in archive
dc: Delete last Chapter from archive o: Order files in archive
a: Add files to archive p: Print files to standard output
b: execute Batch or dos command q: recover damaged ARJ file
c: Comment archive files r: Remove paths from filenames
d: Delete files from archive s: Sample files to screen with pause
e: Extract files from archive t: Test integrity of archive
f: Freshen files in archive u: Update files to archive
g: Garble files in archive v: Verbosely list contents of archive
i: check Integrity of ARJ.EXE w: Where are text strings in archive
j: Join archives to archive x: eXtract files with full pathname
k: remove obsolete bacKup files y: copY archive with new options
l: List contents of archive
<Main defaults>
Save path information in archive
Save long filenames
Don't save drive and root in path information
--More--?
Display comment ANSI sequences with built-in display handler
Prompt before overwriting output files
Use method 1 compression
Use binary mode
Use ! as list file symbol
The "ac" command is an abbreviation for "u -u2 -jb"
The "cc" command is an abbreviation for "y -jb"
The "dc" command is an abbreviation for "d -jb"
<User prompt responses>
Yes - yes
No - no
Quit - abort out of ARJ
Always - always assume yes for current type of query
Skip - always assume no for current type of query
Global - always assume yes for all queries except diskette volume prompts
Command - prompt for and execute one DOS command
<Switches>
-: disables switch char p: match using full Pathnames
+: inhibits ARJ_SW usage p1: match Pathname with subdirs
--More--?
+var: set environment variable q: Query on each file
@: set 1 token per response file line r: Recurse subdirectories
!: set list char (!) s: set archive time-Stamp to newest
&: set batch critical error handler s1: save original time-Stamp
#: select files by number s2: set archive time-Stamp
$: add/extract volume label s3: save both original time-Stamps
$A: add/extract label to drive A t: set file Type (default 0 )
a: allow any file Attribute t0: set binary file type
a1: any files and directories t1: set C text file type
b: Backup changed files t1f: force C text file type
b1: Backup changed, reset archive bits t1g: set C text with graphics
b2: only reset archive bits u: Update files (new + newer)
b3: reset archive bit during restore u1: Update files (new + OLDER)
b4: do not restore bits, reset arc u2: Update files (new + different)
b5: do not restore any file attributes u3: Update files (new + CRC mismatch)
c: skip time-stamp Check v: enable multiple Volumes
d: Delete added files v360: build 362000 byte volumes
asks permission before deleting v50K: build 50000 byte volumes
e: Exclude paths from names va: auto-detect space available
e1: Exclude base dir from names vi: inhibit diskette change test
f: Freshen existing files vr50K: reserve 50000 bytes of
f1: Freshen with OLDER files space on first volume
f2: Freshen with DIFFERENT files vs: provide DOS command prompt
--More--?
f3: Freshen with CRC mismatched files vsCMD: execute CMD before each vol
g: Garble with password vv: beep between volumes
gstew: garble with password stew vw: keep Whole files in volumes
g?: prompt for password vz: provide command with no echo
i: show no progress Indicator v360,v720,v1200,v1440: abbrevs
i1: show bar graph Indicator Volume options may be in any order
i2: show percentage and bar graph except s and z which must be last
i3: total progress percentage w: assign Work directory
i4: total progress bar graph wTMP: use TMP as work directory
i5: total percentage and bar graph x: eXclude selected files
k: Keep a .BAK of ARJ archive x*.EXE: exclude *.EXE files
l: create List_name file x!NAMES: exclude files in NAMES
lNAMES.LST: create NAMES.LST multiple exclusions are allowed
m: with Method 0 , 1 , 2 , 3 , 4 y: assume Yes on all queries except
m0: store (no compression) diskette volume prompts
m1: good compression (default) Use this switch for batch mode
m2: less memory and compression z: supply archive comment file
m3: FAST! less compression zARC.CMT: use ARC.CMT for comments
m4: FASTEST! least compression zNUL: use to strip comments
n: only New files (not exist)
o: On or after YYMMDDHHMMSS
o: on today
o901225: on/after 12 / 25 / 90
--More--?
ob: Before YYMMDDHHMMSS
ob: before today
ob901225: before 12 / 25 / 90
od: no older than N Days
od5: five or less days old
<Shifted switches>
h#: append date string to name hg: specify garble module filename
h# 1 : append time string to name hgGARBLE.COM: set GARBLE.COM as
h# 2 : append DHHMMSS to name name of garble module
ha: ignore readonly Attribute hi: detailed display in Index files
hb: select by file attribute/type hk: build data protection file
a - archive bit set hl: return error for Listfile error
b - archive bit clear hm: increase file list capacity
r - readonly hm!: redirect -hm temp file
s - system hm! : move temp file to XMS mem
h - hidden hm!e:\ : move temp file to e:\
d - directory hn: specify non-existent filespec
n - normal file, not d,h,r,s,c,l hn####: set #### as filespec
c - chapter label ho: Only extract files with matches
l - volume label ho1: Only extract files without matches
f - abbrev for n,d,r,s,h hq: ignore open access error on adds
--More--?
hb: select all types hq1: ignore open not found error on adds
hbsh: select hidden, system only hq2: ignore access and not found on adds
hbd: select dirs only hr: try to ignore archive errors
hc: execute DOS Command at ARJ start hs: disable file Sharing
hcCLS: execute CLS ht: set Target directory
he: skip test of security Envelope htD:\DESTDIR
he1: set error on security Envelope hu: allow Update of volume archives
hf: set short filenames only hv: check for ARJ version
hf1: set longnames in file comment hw: scroll save search filename display
or extract with W95LNAME.nnn hw1: display only filenames with matches
hf2: use long filenames in DOS hx: set default archive extensions
hf3: set longnames in file comment hx.arj.sdn
using shortname wildcards
j#: store only CRC and not the file jq: set string parameter
j# 1 : store only date, size, attributes jqstring: set parameter to string
ja: set P command to display ANSI jr: Recover broken archive files
ja1: inhibit the display of comments jr1: Recover badly broken archive files
jb: set chapter backup processing js: Store archives by suffix
jb0: clear chapter archive status default is arj, arc, lzh, pak, rar,
jb*: select all chapter backup files zip, zoo, j, and uc2.
jc: exit after Count of files js.zoo: store only .zoo files
--More--?
jc5: exit after 5 files jt: Test temporary archive by CRC
jc nam1 nam2: exit after 2 files jt1: Test CRC and file contents
jd: ensure free Disk space jt2: Test only added file contents
e -jd50K: skip file if< 50000 free ju: translate UNIX style paths
l -jd1000: set error if< 1000 free jv: set Verbose display
je: create self-extracting archive jv1: set special verbose list mode
je1: create SFXJR archive jw: set extract output filename
jf: store/use Full specified path jwNEW.FIL: output to NEW.FIL
jf1: store/use path minus drive jx: start at eXtended position
jg: [OBSOLETE] jx10000: start at position 10000
jg1: [OBSOLETE] jy: suppress queries assuming Yes
jh: set Huffman buffer size a - skip append query
jh65535: set to 65535 bytes (max) c - skip create directory query
jh2048: set to 2048 bytes (min) d - skip delete files query
ji: create Index file k - skip disk space available query
jiINDEX.FIL: create INDEX.FIL n - skip new filename prompt
jk: Keep temp archive on error o - skip overwrite file query
jl: display only filespecs r - erase all type-ahead before query
jm: set Maximum compression mode s - skip scanned enough text query
jm1: set faster Maximum compression v - skip proceed to next volume query
jn: restart volumes at fileName y - accept single character Y/N/A/Q
jnBIN\X.COM: restart at BIN\X.COM jycny: skip create, new name queries
jn: get restart information from in single character input mode
--More--?
previously written index file jz: supply file for file comment
jo: query when updating archive file jzFIL.CMT: use FIL.CMT for comments
jo: extract to unique Output names jzNUL: use to strip file comments
jp: Pause after each screenful
jp50: pause, set page size to 50
Environment variable setting:
set arj_sw=-jyry -jv -i1
set arj_sw=c:\arj.cfg
ARJ DOS errorlevels:
0 -> success
1 -> warning (specified file to add to archive not found,
specified file to list, extract, etc., not found,
or answering negatively to "OK to proceed to next volume..."
prompt)
2 -> fatal error
3 -> CRC error (header or file CRC error or bad password)
4 -> ARJ-SECURITY error or attempt to update an ARJ-SECURED archive
5 -> disk full or write error
--More--?
6 -> cannot open archive or file
7 -> simple user error (bad parameters)
8 -> not enough memory
9 -> not an ARJ archive
10 -> XMS memory error (read or write)
11 -> user control break
12 -> too many chapters (over 250 )
The batch statement IF ERRORLEVEL 0 ... means
if the errorlevel is EQUAL TO or GREATER THAN 0 .
If the first two characters of an ARJ comment are "))" in a self-extractor,
then the self-extractor will accept the appended line as its command line.
)) -o
will force the self-extractor to overwrite existing files.
This ARJ help information is not intended as a replacement for the ARJ user
documentation. See the files ARJ.DOC, INTRO.DOC, ERRORS.DOC, ... for detailed
information about using ARJ.
--More--?
... и таки далее.
|
|
|