Salut,
J'aurais besoin de connaitre un exemple de script pour compresser un
ensemble de fichier avec la commande ARJ.EXE , et l'exécuter d'une manière
automatique en utilisant les taches planfiées.
De même, la commande qui permet de décompresser ces fichiers
Cette action est irreversible, confirmez la suppression du commentaire ?
Signaler le commentaire
Veuillez sélectionner un problème
Nudité
Violence
Harcèlement
Fraude
Vente illégale
Discours haineux
Terrorisme
Autre
Laurent Jumet
Hello !
"LAQUICK" wrote:
L> J'aurais besoin de connaitre un exemple de script pour compresser un L> ensemble de fichier avec la commande ARJ.EXE , et l'exécuter d'une L> manière automatique en utilisant les taches planfiées.
L> De même, la commande qui permet de décompresser ces fichiers
=== Begin arj.txt == ARJ 2.60 SHAREWARE Copyright (c) 1990-97 ARJ Software, Inc. Nov 16 1997 *** This SHAREWARE program is NOT REGISTERED for use in a business, commercial, *** government, or institutional environment except for evaluation purposes.
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--? 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
<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 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 +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 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 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
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 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 jnBINX.COM: restart at BINX.COM jycny: skip create, new name queries jn: get restart information from in single character input mode 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 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.
ARJ file archiver utility. Copyright (c) 1990-97 ARJ Software, Inc. All Rights Reserved.
ARJ IS DEDICATED TO GOD AND TO THE JUNG FAMILY. John 15:5
ARJ License Policy:
ARJ SOFTWARE, INC. DISCLAIMS ALL WARRANTIES RELATING TO THIS SOFTWARE, WHETHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, AND ALL SUCH WARRANTIES ARE EXPRESSLY and SPECIFICALLY DISCLAIMED.
SEE THE ACCOMPANYING DOCUMENTATION FOR FURTHER DISCLAIMERS AND INFORMATION.
ARJ is a shareware product and its use in a business, commercial, government, or institutional environment requires registration. The inclusion of the ARJ software (ARJ, DEARJ, ARJSFX, ARJSFXJR, ARJSFXV) as part of a software and/or hardware package to be distributed always requires a special distribution license. The registration of ARJ for personal at-home use is NOT required.
Instead, we ask that these at-home users share ARJ with a friend. The registration fee for the use of ARJ on one computer for internal use only is $45 including shipping. This price is valid until January 1, 1999. Site licenses and distribution licenses are available. Business, commercial, government, and institutional ARJ users are permitted a free 30 day period for the evaluation of ARJ.
For credit card registrations, see the accompanying documentation for details.
For more information concerning ARJ, see the accompanying documentation or contact:
ARJ Software, Inc. Fax : 781-769-4893 P.O. Box 249 Email: Norwood MA 02062 Web : http://www.arjsoftware.com USA
=== End arj.txt == -- Laurent Jumet - Point de Chat, Liège, BELGIUM KeyID: 0xCFAF704C [Restore address to laurent.jumet for e-mail reply.]
Hello !
"LAQUICK" <cdelliere@meduane-habitat.fr> wrote:
L> J'aurais besoin de connaitre un exemple de script pour compresser un
L> ensemble de fichier avec la commande ARJ.EXE , et l'exécuter d'une
L> manière automatique en utilisant les taches planfiées.
L> De même, la commande qui permet de décompresser ces fichiers
=== Begin arj.txt == ARJ 2.60 SHAREWARE Copyright (c) 1990-97 ARJ Software, Inc. Nov 16 1997
*** This SHAREWARE program is NOT REGISTERED for use in a business,
commercial,
*** government, or institutional environment except for evaluation
purposes.
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--? 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
<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
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
+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
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
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
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
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
jnBINX.COM: restart at BINX.COM jycny: skip create, new name
queries
jn: get restart information from in single character input
mode
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
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.
ARJ file archiver utility. Copyright (c) 1990-97 ARJ Software, Inc.
All Rights Reserved.
ARJ IS DEDICATED TO GOD AND TO THE JUNG FAMILY. John 15:5
ARJ License Policy:
ARJ SOFTWARE, INC. DISCLAIMS ALL WARRANTIES RELATING TO THIS SOFTWARE,
WHETHER
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, AND ALL SUCH
WARRANTIES
ARE EXPRESSLY and SPECIFICALLY DISCLAIMED.
SEE THE ACCOMPANYING DOCUMENTATION FOR FURTHER DISCLAIMERS AND INFORMATION.
ARJ is a shareware product and its use in a business, commercial,
government,
or institutional environment requires registration. The inclusion of the
ARJ
software (ARJ, DEARJ, ARJSFX, ARJSFXJR, ARJSFXV) as part of a software
and/or
hardware package to be distributed always requires a special distribution
license. The registration of ARJ for personal at-home use is NOT required.
Instead, we ask that these at-home users share ARJ with a friend. The
registration fee for the use of ARJ on one computer for internal use only
is
$45 including shipping. This price is valid until January 1, 1999. Site
licenses and distribution licenses are available. Business, commercial,
government, and institutional ARJ users are permitted a free 30 day period
for
the evaluation of ARJ.
For credit card registrations, see the accompanying documentation for
details.
For more information concerning ARJ, see the accompanying documentation or
contact:
ARJ Software, Inc. Fax : 781-769-4893
P.O. Box 249 Email: robjung@world.std.com
Norwood MA 02062 Web : http://www.arjsoftware.com
USA
=== End arj.txt ==
--
Laurent Jumet - Point de Chat, Liège, BELGIUM
KeyID: 0xCFAF704C
[Restore address to laurent.jumet for e-mail reply.]
L> J'aurais besoin de connaitre un exemple de script pour compresser un L> ensemble de fichier avec la commande ARJ.EXE , et l'exécuter d'une L> manière automatique en utilisant les taches planfiées.
L> De même, la commande qui permet de décompresser ces fichiers
=== Begin arj.txt == ARJ 2.60 SHAREWARE Copyright (c) 1990-97 ARJ Software, Inc. Nov 16 1997 *** This SHAREWARE program is NOT REGISTERED for use in a business, commercial, *** government, or institutional environment except for evaluation purposes.
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--? 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
<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 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 +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 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 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
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 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 jnBINX.COM: restart at BINX.COM jycny: skip create, new name queries jn: get restart information from in single character input mode 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 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.
ARJ file archiver utility. Copyright (c) 1990-97 ARJ Software, Inc. All Rights Reserved.
ARJ IS DEDICATED TO GOD AND TO THE JUNG FAMILY. John 15:5
ARJ License Policy:
ARJ SOFTWARE, INC. DISCLAIMS ALL WARRANTIES RELATING TO THIS SOFTWARE, WHETHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, AND ALL SUCH WARRANTIES ARE EXPRESSLY and SPECIFICALLY DISCLAIMED.
SEE THE ACCOMPANYING DOCUMENTATION FOR FURTHER DISCLAIMERS AND INFORMATION.
ARJ is a shareware product and its use in a business, commercial, government, or institutional environment requires registration. The inclusion of the ARJ software (ARJ, DEARJ, ARJSFX, ARJSFXJR, ARJSFXV) as part of a software and/or hardware package to be distributed always requires a special distribution license. The registration of ARJ for personal at-home use is NOT required.
Instead, we ask that these at-home users share ARJ with a friend. The registration fee for the use of ARJ on one computer for internal use only is $45 including shipping. This price is valid until January 1, 1999. Site licenses and distribution licenses are available. Business, commercial, government, and institutional ARJ users are permitted a free 30 day period for the evaluation of ARJ.
For credit card registrations, see the accompanying documentation for details.
For more information concerning ARJ, see the accompanying documentation or contact:
ARJ Software, Inc. Fax : 781-769-4893 P.O. Box 249 Email: Norwood MA 02062 Web : http://www.arjsoftware.com USA
=== End arj.txt == -- Laurent Jumet - Point de Chat, Liège, BELGIUM KeyID: 0xCFAF704C [Restore address to laurent.jumet for e-mail reply.]