home *** CD-ROM | disk | FTP | other *** search
/ What the Doctor Required - The Freshest December / December.iso / archivat / arj.all / arj255c.exe / UPDATE.DOC < prev    next >
Text File  |  1997-05-08  |  57KB  |  1,299 lines

  1.  
  2.      UPDATE.DOC, ARJ 2.55c BETA TEST                            April 1997
  3.  
  4.  
  5.      This documents new or updated information since ARJ 2.50.
  6.  
  7.  
  8.      ** IMPORTANT NEWS ****************************************************
  9.  
  10.         *** THIS VERSION OF ARJ IS A PUBLIC BETA TEST RELEASE.
  11.         *** See WHATSNEW.DOC for details about changes.
  12.  
  13.         The "ARJ y archive -jb0" command is NOW used to convert a chapter
  14.         archive to a standard archive instead of using "-jb*".
  15.  
  16.         ARJ Software is now supporting two archiver products including a
  17.         new archiver that produces "J" archives which are not compatible
  18.         with ARJ.  Please note that it is our intention to continue
  19.         supporting and enhancing the ARJ product.  Please note the number
  20.         of new features in this release of ARJ.
  21.  
  22.         This third test version has been changed with regard to the
  23.         storage of the SFX modules and the built-in help information.
  24.         The change now requires that MS-DOS 3.0 and above be used to
  25.         access the SFX modules and the help information.  Under DOS
  26.         2.11, the help screens and self-extractor creation will work if
  27.         ARJ.EXE is located in the CURRENT directory.  This change frees
  28.         up more conventional memory for ARJ use.
  29.  
  30.         The purpose of this release is to gather comment on the design
  31.         of the new features and to find program bugs.  We welcome any
  32.         suggestions or bug reports that you might have to improve upon
  33.         this version of ARJ.
  34.  
  35.         The most likely areas of bugs involve handling filenames longer
  36.         than 80 characters, chapter archive processing, multiple volume
  37.         updating, using XMS memory to handle a large number of filenames,
  38.         and selecting files via the new "-hb" option.
  39.  
  40.         Currently, there is one known issue to resolve.  Occasionally,
  41.         ARJ will generate a DOS errorlevel of 7 (user error) when
  42.         archiving a file with a sector/read critical error.  We have been
  43.         unable to reproduce this error on our own machines.  We would
  44.         appreciate any detailed reports concerning behavior like this.
  45.  
  46.         You should not use this test version of ARJ after September 1997.
  47.         Look for an official release of ARJ then.  There is NO expiration
  48.         timer in this program.  The time limit is for your protection and
  49.         is strictly voluntary.  You should not use a test version of any
  50.         software for too long.
  51.  
  52.         The mailing address of ARJ Software has changed as of August 1993.
  53.  
  54.         ARJ Software
  55.         Robert and Susan Jung
  56.         P.O. Box 249
  57.         Norwood MA 02062
  58.         USA
  59.  
  60.         FAX: 617-769-4893
  61.  
  62.         EMAIL: robjung@world.std.com
  63.  
  64.         There is ARJ Internet mailing list and WEB site support
  65.         information added to the file ARJ.DOC.  They are excerpted below:
  66.  
  67.         http://www.ARJSOFT.com                        (ARJ homepage)
  68.  
  69.         http://www.Dunkel.de/ARJ                      (German and English)
  70.         http://www.glo.be/tsf                         (French and English)
  71.  
  72.         You can find information about the world of ARJ on the Internet
  73.         by using the search sites www.altavista.com and www.dejanews.com.
  74.  
  75.         ---------
  76.  
  77.         This version of ARJ will use more conventional memory than
  78.         previous versions of ARJ, but less than ARJ 2.55b.  However,
  79.         using the "-hm1" or "-hm!" option will reduce your memory
  80.         requirements especially when archiving a large number of files.
  81.  
  82.         ---------
  83.  
  84.         After ARJ version 2.41a, full functionality of certain ARJ
  85.         software features will NOT be available in the shareware
  86.         versions of ARJ (registered or not).  These features include the
  87.         multiple volume self-extractor, the ARJSFX embedded command line
  88.         feature, and the inhibit display messages option.  The full
  89.         featured versions will ONLY be available from ARJ Software and
  90.         its agents.  Registered ARJ users can upgrade to this version
  91.         for a small shipping/handling fee ($5) or a SASE with diskette.
  92.         For credit card users, the upgrade fee will be $10 because of
  93.         minimum fee charge requirements.
  94.  
  95.         Check the WHATSNEW.DOC file for changes since ARJ 2.41a.
  96.  
  97.         ---------
  98.  
  99.         ** THIS VERSION OF ARJ HAS LONG FILENAME SUPPORT UNDER WINDOWS 95.
  100.         ** REARJ NOW SUPPORTS LONG FILENAMES UNDER WINDOWS 95.
  101.  
  102.         ---------
  103.  
  104.         This version now supports ARJ-SECURITY for multiple volume
  105.         archives and multiple volume self-extractors.  ARJ-SECURE users
  106.         should note the upgrade information above.
  107.  
  108.         ---------
  109.  
  110.         New to this version of ARJ is a data damage protection option.
  111.         A slightly damaged/corrupted ARJ file can be repaired if the
  112.         archive was protected by creating a data protection file before
  113.         the damage occurred.  See below for more information.  The
  114.         competing PKZIPFIX programs offers NO protection against damage
  115.         to actual file data.  PKZIPFIX fixes damaged archive
  116.         directories.
  117.  
  118.         ---------
  119.  
  120.         New to this version of ARJ is the concept of backup CHAPTERS.
  121.         This allows the user to do MULTIPLE full backups to a SINGLE
  122.         archive in such a manner as to allow the full restoration of the
  123.         files at the time of ANY of the backups (CHAPTERS).  This allows
  124.         the user to backtrack easily, a feature valuable to software
  125.         developers.  Deleted files are also accounted for in this
  126.         chapter scheme.  Inherent in this concept is disk space savings.
  127.  
  128.         To go along with the new CHAPTER feature, ARJ now fully supports
  129.         the UPDATE of multiple volume archives.  To implement this
  130.         feature reliably in multiple volumes, all new or changed files
  131.         are added at the END of the LAST volume.  This re-arrangement
  132.         only occurs with multiple volume archives.  This prevents the
  133.         diskette overflow that would occur with earlier versions of ARJ.
  134.  
  135.         Because of the new CHAPTER feature, ARJ NO LONGER SUPPORTS the
  136.         old ARJ backup file feature.  This is the old "-jb / -jg"
  137.         functionality.  This version of ARJ will not process this type
  138.         of archive properly.  The CHAPTER feature is better than the ARJ
  139.         backup feature.
  140.  
  141.         See the "ac" command and "-jb" option for more information about
  142.         CHAPTER archives.
  143.  
  144.         ---------
  145.  
  146.         New to this version is the "hollow" archive.  This is an ARJ
  147.         archive that does NOT contain the compressed file data.  The
  148.         main application for this kind of archive is scanning for
  149.         CHANGED files.  This makes the hollow archive useful for file
  150.         integrity scanning as in virus damage scanning.  However, this
  151.         feature should not be used solely in place of a anti-virus
  152.         program.
  153.  
  154.         ---------
  155.  
  156.         This version of ARJ provides a new encryption scheme based upon
  157.         the Russian encryption algorithm (GOST 28147-89 cipher).  This
  158.         algorithm is similar in design to DES; however, GOST is designed
  159.         for software implementation.  This implementation uses the 64
  160.         bit cipher feedback mode.
  161.  
  162.         This new encryption is accessed by using the "-g" option to
  163.         specify the password and the "-hg" option to specify the new
  164.         scheme.  This new scheme is in addition to the older XOR garble
  165.         scheme.
  166.  
  167.         ** Please NOTE that losing your password means losing your file!
  168.         ** Please do NOT ask for technical support on lost passwords.
  169.         ** There is no shortcut/backdoor for determining lost passwords.
  170.  
  171.         The encryption module is a separate COM file named ARJCRYPT.COM.
  172.         ARJ expects to find the encryption module in the same directory
  173.         as itself.  This has the advantage of saving space with the
  174.         ARJSFXV module and the DEARJ.EXE module when encryption is not
  175.         needed.  You simply do not include the encryption module in the
  176.         archive when not using encryption.
  177.  
  178.         For non-USA users, the encryption overlay module is not included
  179.         with this version of ARJ.  Because of USA export regulations,
  180.         ARJ Software may not export the encryption overlay module from
  181.         the USA.
  182.  
  183.         ---------
  184.  
  185.         ARJ can archive up to 65,000 files at one time when the "-hm"
  186.         option is specified.  This option enables ARJ to use disk space
  187.         instead of memory space to manage the names of the files being
  188.         archived.  The "-hm!" option uses XMS memory to manage the list
  189.         of names.  At this revision of ARJ, checking for duplicates is
  190.         NOT disabled as it was in 2.50.
  191.  
  192.         ---------
  193.  
  194.         ARJ can now select files based upon the file attributes and/or
  195.         file types.  For example, you can build an archive that contains
  196.         ONLY the directories and NOT the files on your hard drive.  See
  197.         the "-hb" option for details.
  198.  
  199.         ---------
  200.  
  201.         The multiple volume SELF-EXTRACTION FUNCTION is LIMITED in the
  202.         ARJ shareware version.  Only volumes of 360K or less in size can
  203.         be created AND only such volumes will be processed by the
  204.         self-extractor.  This feature is accessed through the "-je"
  205.         option along with the "-v" option.
  206.  
  207.         This multiple volume self-extractor supports ANSI escape
  208.         sequence displays.  It also supports ARJ-SECURE over multiple
  209.         volumes and the new encryption method.
  210.  
  211.         ---------
  212.  
  213.         The extraction "-jo" option now works in cooperation with the
  214.         "-f" and "-u" type options.  Previously, the "-jo" option
  215.         disabled the "-f" and "-u" options.
  216.  
  217.         ---------
  218.  
  219.         The "-g" option will NOW force compression even when a size
  220.         increase results except when the "-m0" option is used.
  221.         Encrypted compressed data is more secure than encrypted stored
  222.         (-m0) data.
  223.  
  224.         ---------
  225.  
  226.         This version no longer detects the older 2.30 ARJ-SECURE archives.
  227.  
  228.         ---------
  229.  
  230.         ** CAUTIONS **
  231.  
  232.         Whenever archiving to diskettes, it is HIGHLY recommended that
  233.         the option "-jt" be used.  This helps spot BAD diskettes or BAD
  234.         diskette drives.  It is HIGHLY recommended that the "-jt" option
  235.         be used in a Windows or multi-tasking or network environment.
  236.  
  237.         The XMS accelerator in Hurricane 2.0 MAY interfere with the use
  238.         of the ARJ -hm! option within a Windows DOS box.  You can use
  239.         the -hm option instead.
  240.  
  241.         UNERASE or UNDELETE commands do not always recover a file
  242.         correctly.  This will result in damaged archives.  This is true
  243.         for all archive types.  You should always test an archive after
  244.         unerasing it.
  245.  
  246.         CAUTION: To those who use the "-t1" and/or "-t1g" options to
  247.         save a few extra bytes.  This option should only be used on TEXT
  248.         FILES. Those are files created by EDLIN, EDIT, QEDIT, BRIEF,
  249.         NOTEPAD, and others.  Text files typically contain only letters,
  250.         numbers, spaces, and punctuation marks.  WORD PROCESSOR format
  251.         files ARE NOT TEXT FILES!  MS WORD, Wordperfect, AMIPRO, WRITE,
  252.         and similar files ARE NOT TEXT FILES. Using the "-t1" or "-t1g"
  253.         on any other kind of file probably will result in DATA LOSS!
  254.  
  255.      **********************************************************************
  256.  
  257.  
  258.      WINDOWS 95 LONG FILENAME SUPPORT
  259.  
  260.         This version of ARJ supports the use of long filenames under the
  261.         Windows 95 in the MS-DOS Prompt environment.  It does NOT support
  262.         long filenames under MS-DOS 6.22 and below.  It supports long
  263.         filenames ONLY when the Windows 95 GUI (graphical user interface)
  264.         is running.  In other words, there is no long filename support in
  265.         Windows 95 MS-DOS mode (accessed from the Win95 shutdown menu).
  266.  
  267.         The small ARJ self-extractor (-je1) does NOT support the handling
  268.         of long filenames.
  269.  
  270.         The ARJSFX and ARJSFXV modules (-je) support long filename
  271.         handling.  However, they will only extract archived Win95 long
  272.         filename files under Win95.  If long filename files are being
  273.         extracted to plain DOS, an error message will be displayed.  They
  274.         can be forced to extract the Win95 archived files with the "-j"
  275.         option.
  276.  
  277.         For compatibility with MS-DOS and older versions of ARJ, ARJ can
  278.         create a dual-name compatibility ARJ archive.  This is an archive
  279.         with both shortnames and longnames stored in it.  The longnames are
  280.         stored in the file comment field.  New versions of ARJ will treat
  281.         the dual-name archive according to the operating system
  282.         environment.  In other words, under MS-DOS, a dual-name archive
  283.         will look like a shortname archive.  Under Win95, a dual-name
  284.         archive will look like a longname archive.  This is also true of
  285.         the ARJSFX and ARJSFXV modules (-je).
  286.  
  287.         For efficiency reasons ARJ does not repeatedly check for file
  288.         system support of long filenames.  ARJ only tests the "C:" file
  289.         system.  An error may occur if ARJ under Win95 tries to access a
  290.         disk drive that does not support long filename handling.  The "-hf"
  291.         option can be used to force ARJ to use the standard 8.3 filename
  292.         APIs instead of the longname APIs.
  293.  
  294.         There are three new options "-hf", "-hf1", and "-hf2" that provide
  295.         choices in the handling of long filenames.  See the discussion of
  296.         those options below for more information.
  297.  
  298.         ARJ will save Win95 long filenames in the letter case they are
  299.         stored on disk; however, all filename matching is done without
  300.         regard to case.  In other words, "ThisName.Ext" matches
  301.         "thisNAME.ext".
  302.  
  303.         When archiving files under Windows 95, be sure to EXCLUDE files
  304.         from processing that are OPEN such as WIN386.SWP.
  305.  
  306.         REMINDER: When specifying filenames with embedded blanks or
  307.         symbols like ">", "<", or "|" on the command line, you MUST
  308.         quote the filenames.
  309.  
  310.         Examples:  ARJ a archive "C:\Program Files\*.*" -r
  311.                    ARJ c archive "<<<*" -jz -jb
  312.  
  313.         For Windows 95 disaster recovery, I make use of the program
  314.         DOSLFNBK.EXE 1.5 by D. J. Murdoch.  With this program while in
  315.         plain DOS, you can save all of the long filenames to BACKUP.LFN.
  316.         Then you can use ARJ or any other DOS backup scheme to backup
  317.         your system including the BACKUP.LFN.
  318.  
  319.         Here is a brief list of steps to backup and restore:
  320.  
  321.         1) Make a Win95 startup diskette.
  322.         2) Shutdown to MS DOS mode.
  323.         3) While you are on the C: drive, execute "DOSLFNBK C:\".
  324.            Change to the D: drive (if any) and execute "DOSLFNBK D:\".
  325.            Execute DOSLFNBK for each drive on each drive.
  326.         4) Use ARJ or other DOS backup program to backup ALL of the files.
  327.            Example:  ARJ a A:backup C:\*.* D:\*.* -r -a1 -jt1 -va -jf
  328.            CAUTION: For important backups, I always make TWO BACKUPS of
  329.            my system.  All too often, one or more files will not restore
  330.            correctly because of some data error (MURPHY'S LAW in action).
  331.         5) Save ARJ.EXE or your backup program to diskettes in a
  332.            restorable form.
  333.         6) Backup finished.
  334.  
  335.  
  336.         1) Boot from your Win95 startup diskette.
  337.         2) Execute "SYS C:" from the A: drive to re-install the boot.
  338.         3) Install ARJ.EXE or your backup program on the hard drive.
  339.         4) Restore all of the files.
  340.            Example:  ARJ x A:backup -v -jf -y -ha
  341.         5) On each drive, execute "DOSLFNBK /r" to restore the long
  342.            filenames.
  343.         6) Restore finished.
  344.  
  345.         
  346.      ARJ RESPONSE FILE PROCESSING
  347.  
  348.         ARJ will accept an ARJ command line from a response file as in
  349.         "ARJ @command.rsp".  The "@" symbol indicates that the appended
  350.         name is the name of the response file.  In this case, the file is
  351.         command.rsp. The response file symbol cannot be changed.
  352.  
  353.         The response file should contain the ARJ command line minus the
  354.         initial "ARJ".  The command line may be split over as many lines
  355.         as necessary.  The response file feature will NOT accept QUOTED
  356.         command line options.  Options with embedded blanks ("-vasTEST X")
  357.         will not be processed as expected.  See the "-@" option for
  358.         help on options with blanks.  When using the response file feature,
  359.         ARJ will accept only the "-+", and "-&" switch options on the DOS
  360.         command line along with the response file name.  All other command
  361.         options must be specified in the response file or in the ARJ
  362.         environment variable.
  363.  
  364.         To better support long filenames, ARJ provides the "-@" option to
  365.         handle the processing of filenames and switch options that contain
  366.         embedded spaces.  The "-@" switch option enables the interpretation
  367.         of a text line in an ARJ response file as a single token.  In other
  368.         words, when ARJ scans an "-@" option, it will process the NEXT text
  369.         line in the response file as a single token including all embedded,
  370.         leading, and trailing blanks.  ARJ will continue to process each
  371.         subsequent text line in the same manner.  If ARJ scans a subsequent
  372.         "-@" option, ARJ will revert to its normal multiple tokens per line
  373.         processing.
  374.  
  375.  
  376.      ARJ WILDCARDING
  377.  
  378.         At 2.55c, the list of filenames that ARJ builds internally for
  379.         archiving is now affected by the "-o" and "-b" options.
  380.  
  381.         Prior to 2.55c, ARJ would include all matching filenames in its
  382.         internal list regardless of the "-o" and "-b" settings.  Then
  383.         during archival, ARJ would select from its internal list based upon
  384.         the "-o" and "-b" options.
  385.  
  386.         Now ARJ uses the "-o" and "-b" and "-hb" options while it is
  387.         building the internal list.  The advantage with this method is the
  388.         need for less memory to handle fewer files.
  389.  
  390.         For example, when doing a full backup of the C drive, ARJ builds an
  391.         internal list of filenames for all of the files on drive C.  When
  392.         doing an incremental backup (-b, -b1), ARJ builds a list of
  393.         filenames for only the files that have the archive bit set.  In
  394.         prior versions of ARJ, ARJ would build the same list regardless of
  395.         the "-b" setting.
  396.  
  397.         ARJ wildcarding can differ according to the operating system
  398.         environment.  When scanning the file system for filenames to
  399.         add/update an archive, ARJ uses the internal operating system
  400.         wildcard matching functions. When scanning an ARJ archive (list,
  401.         extract and so on), ARJ uses its own wildcard matching function.
  402.         This internal ARJ function is identical to the standard DOS
  403.         wildcard matching.
  404.  
  405.         Windows 95 and Windows NT use a slightly more complex wildcard
  406.         matching function.  In Windows 95, it is possible to specify a
  407.         wildcard specification of "a*d*c".  This would match ARJ.DOC,
  408.         ARJDISP.DOC, and others.
  409.  
  410.         As of ARJ 2.55c, ARJ will handle up to 65,000 filenames. Because
  411.         ARJ checks for duplicate filenames when necessary, processing over
  412.         20,000 filenames may slow down as the number of filenames processed
  413.         increase.  ARJ processes wildcards most efficiently when specified
  414.         as separate command line wildcards inclusive of drive letters.
  415.  
  416.         Example: ARJ a backup C:\*.* D:\*.* E:\*.* -r -a1
  417.  
  418.         If each drive letter is unique, ARJ will not need to check for
  419.         duplicates and can proceed faster.  This speedup does not work when
  420.         using listfiles.
  421.  
  422.  
  423.      ARJ-PROTECT DATA PROTECTION FEATURE
  424.  
  425.         With this version, ARJ can repair "protected" archives that suffer
  426.         from slight amounts of data damage (CRC error, bad header, etc). An
  427.         ARJ archive is "protected" with the "-hk" option.  With the "-hk"
  428.         option, ARJ will generate a separate ARJ data protection file. This
  429.         protection file is REQUIRED in order to repair damaged ARJ
  430.         archives.  The size of this file ranges from a minimum of 4096
  431.         bytes and upwards.  For larger archives, the protection file size
  432.         is typically less than one percent of the archive file size.
  433.  
  434.         For this release, the protection file is a separate file.  This
  435.         avoids the problem of uploading unnecessary data to BBSes and ftp
  436.         sites.  The name of the protection file is based upon the archive
  437.         name plus the extension ".XRJ".  Volume protection filenames end
  438.         in ".X01", etc.
  439.  
  440.         This protection feature is sector based and allows repair due to
  441.         typical types of disk corruption (bad sector, virus damage, cross
  442.         links, etc).  This type of sector protection is NOT effective for
  443.         most data transmission problems where data is missing from the
  444.         middle of a transmission.
  445.  
  446.         Technically, this protection feature uses a series of XOR sums and
  447.         checksums in order to allow repairs.  Larger archives are logically
  448.         treated as several streams of data.  ARJ can protect each "stream"
  449.         from one or two damaged sections 1024 bytes in size.  However, for
  450.         large archives (1 MB or larger) ARJ can sometimes repair up to four
  451.         damaged sections per MByte.  The "-hk1, "-hk2" ... "-hk9" options
  452.         can offer more data protection at the cost of a proportionately
  453.         larger protection file.
  454.  
  455.         This type of protection is NOT offered by the competing PKZIPFIX
  456.         program which only repairs damaged archive directories.
  457.  
  458.         The "-hk" option sets ARJ to build a protection file.  The "q"
  459.         command is used to repair a damaged archive.  The repaired archive
  460.         is named ARJFIXED.ARJ.
  461.  
  462.         Example:  ARJ a archive -hk       generates archive.xrj
  463.                   ARJ q archive           repairs archive.arj
  464.  
  465.  
  466.      ARJ ANSI COMMENT HANDLING
  467.  
  468.         At version 2.55, ARJ will use its own ANSI sequence display handler
  469.         to display ARJ comments.  In previous versions, ARJ depended upon
  470.         the "-ja" option and an installed ANSI.SYS driver to handle the
  471.         ANSI escape sequences.  The "-ja" option has a new function now.
  472.         The "-ja" option will set the "P" command to display files using
  473.         the new ANSI sequence display handler.
  474.  
  475.         The ARJSFXV module (-je -v) also will display ANSI comments now.
  476.  
  477.         Please note that the ARJ comment field size is limited to about 2K
  478.         bytes.
  479.  
  480.  
  481.      ARJSFXV MULTIPLE VOLUME SELF-EXTRACTOR
  482.  
  483.         This module now supports ARJ-SECURE and ANSI escape sequences in
  484.         the archive comment.  You can build a single volume
  485.         self-extracting archive by specifying a larger volume size.  The
  486.         ARJ distribution archive uses the ARJSFXV module because of the
  487.         ANSI comment support.
  488.  
  489.         Example:  ARJ a archive *.* -je -v300K
  490.  
  491.  
  492.      ARJ ERRORLEVELS
  493.  
  494.         ARJ will now return a DOS error code of 11 for a user control break
  495.         action.  ARJ formerly returned a code of 2 for this situation.
  496.  
  497.  
  498.      ARJ COMMANDS
  499.  
  500.      "ac" command
  501.  
  502.         This is a new two character command for ARJ.  It is actually an
  503.         abbreviation for the following command and switch options:
  504.         "u -u2 -jb".  The "ac" command will add a chapter backup to a new
  505.         archive or add a new chapter (updating) to a chapter archive.
  506.  
  507.         Example:  ARJ ac archive c:\dir\*.* -r -jt
  508.  
  509.         The advantage of a chapter archive is that you can make numerous
  510.         full backups (chapters) to a SINGLE archive.  Major space savings
  511.         will result when some files do not change from backup to backup.
  512.  
  513.         See the "-jb" option for more details.
  514.  
  515.         Adding a new chapter adds a chapter label entry in the archive.
  516.  
  517.  
  518.      "dc" command
  519.  
  520.         This is a new two character command for ARJ.  It is actually an
  521.         abbreviation for the following command and switch options:
  522.         "d -jb".  The "dc" command will delete the last chapter in an
  523.         archive using the specified file wildcard.  Normally, that
  524.         wildcard should be "*.*".
  525.  
  526.         Example:  ARJ dc archive *.*
  527.  
  528.  
  529.      "e" command
  530.      "x" command
  531.  
  532.         Chapter archives do NOT support extraction with deletion.
  533.  
  534.         ARJ x archive *.doc -d   generates "Bad command syntax"
  535.  
  536.  
  537.      "q" command
  538.  
  539.         The "q" command is used to repair a damaged "protected" archive.
  540.         An archive is protected with the "-hk" option.  Both the protected
  541.         archive and its ARJ-PROTECT data protection file are required to
  542.         repair any damage.  The "q" command will attempt to repair all
  543.         damages and put the repaired archive in a file named ARJFIXED.ARJ.
  544.  
  545.         Example:  ARJ q archive
  546.  
  547.         When working with a damaged archive and the "Abort, Retry, Ignore,
  548.         Fail" prompt appears, you should select the "Ignore" option.
  549.  
  550.  
  551.      "t" command
  552.  
  553.         When used with the "-hk" option, ARJ will test the archive and
  554.         upon successful completion, will generate the ARJ-PROTECT file.
  555.  
  556.         Example:  ARJ t archive -hk
  557.  
  558.  
  559.      "y" command
  560.  
  561.         When used with the "-g" option and optionally the "-hg" option,
  562.         ARJ will ungarble a previously garbled archive.
  563.  
  564.         Example:  ARJ y archive -gpasswrd
  565.  
  566.         When used with the "-jb" option, ARJ will convert a standard
  567.         archive to a chapter archive.
  568.  
  569.         Example:  ARJ y archive -jb
  570.  
  571.         When used with the "-jb0" option, ARJ will convert a chapter
  572.         archive to a standard archive.
  573.  
  574.         Example:  ARJ y archive -jb0
  575.  
  576.  
  577.      ARJ SWITCHES
  578.  
  579.      "-@" switch
  580.  
  581.         This switch sets ARJ to enable/disable the interpretation of text
  582.         lines in an ARJ RESPONSE file as a complete single token. Normally,
  583.         in an ARJ response file, blanks are interpreted as token
  584.         separators.  (Tokens are commands, filenames, wildcards, and switch
  585.         options).  However, if ARJ scans an "-@" option in a response file,
  586.         it will process subsequent text lines as single tokens per line.  A
  587.         subsequent "-@" option will revert ARJ to normal multiple tokens
  588.         per line mode.
  589.  
  590.         Example:  ARJ @text.rsp
  591.  
  592.         TEXT.RSP contains:
  593.         a c:\dir\archive -r -jt1 -@ -a1
  594.         c:\long directory name\*.*
  595.         c:\other directory name\*.*
  596.         -@
  597.         dir1\*.* dir2\*.* dir3\*.*
  598.  
  599.         One common error when using the "-@" option is including extraneous
  600.         leading and/or trailing blanks.  For example, ARJ will abort with
  601.         an invalid switch option error if the second "-@" above has one or
  602.         more trailing blanks.
  603.  
  604.  
  605.      "-b" switch
  606.  
  607.         Under Windows 95, the use of the "-b" type switch options to reset
  608.         the archive bit may result in a sharing violation error.  Under
  609.         ARJ 2.55b and above, ARJ will display the error and then proceed
  610.         ignoring the error.
  611.  
  612.  
  613.      "-e" switch
  614.  
  615.         This switch used during extraction will exclude the beginning
  616.         characters of the filename.  This can be useful for shortening a
  617.         long output pathname.
  618.  
  619.         Examples:  ARJ x archive -e10  will exclude the first 10
  620.                                        characters of the output filename.
  621.  
  622.                    ARJ x archive -e4   will exclude the first 4 characters.
  623.  
  624.  
  625.      "-f1" switch
  626.  
  627.         This switch is used to select files that are OLDER for extracting
  628.         or adding.
  629.  
  630.  
  631.      "-f2" switch
  632.  
  633.         This switch is used to select files that are DIFFERENT (different
  634.         date-time or different size) for extracting or adding.
  635.  
  636.         There is a slight limitation to this switch.  When processing
  637.         files that are split across volumes, the size test is skipped.
  638.  
  639.  
  640.      "-f3" switch
  641.  
  642.         This switch is used to select files that are CRC mismatches for
  643.         extracting or adding.  The 32 bit CRC (checksum) of the file is
  644.         matched against the CRC of the file in the archive.
  645.  
  646.         There is a slight limitation to this switch.  When processing
  647.         files that are split across volumes, the CRC test is skipped.
  648.  
  649.  
  650.      "-g" switch
  651.  
  652.         The garble option in this version of ARJ has two versions. One
  653.         is the original version found in earlier ARJ releases.  It is
  654.         compatible with older versions and works like those versions.
  655.  
  656.         The other garble version uses a separate encryption module.
  657.  
  658.         This new option is accessed by using the new "-hg" option.  This
  659.         option sets ARJ to use the separate encryption module to encrypt
  660.         the data.  By default, ARJ will look for the file "ARJCRYPT.COM"
  661.         in the same directory where the ARJ.EXE being executed is found.
  662.         The user may specify the pathname of the module to use.
  663.  
  664.         Examples:  ARJ a archive *.doc -gThis_is_a_password -hg
  665.                    ARJ a archive *.doc -gpassword -hgc:\dir\enc.com
  666.  
  667.         The new garble option accepts a password key up to 32 characters
  668.         long.  Excess characters are ignored.  Garble passwords ARE CASE
  669.         SENSITIVE!  DO NOT LOSE your password!  There is no known method to
  670.         recover the password other than by brute force, which could take a
  671.         very long time.  The longer the password, the longer it would take
  672.         to "guess" it.
  673.  
  674.         This new encryption scheme is not compatible with the "-g" option
  675.         of pre-2.55 versions of ARJ.  If you want to maintain compatibility
  676.         with pre-2.55 versions of ARJ, you should NOT use the "-hg" option.
  677.  
  678.         Only the multiple volume self-extractor supports the new encryption
  679.         module.
  680.  
  681.         When garbling or ungarbling an existing archive, ARJ will detect
  682.         the method of encryption previously used and select that same
  683.         method even if the "-hg" option was not specified.
  684.  
  685.  
  686.      "-i3" switch
  687.  
  688.         This switch shows the percentage progress of the WHOLE archive
  689.         build.  This switch is only effective during adds.
  690.  
  691.  
  692.      "-i4" switch
  693.  
  694.         This switch shows the percentage progress as a bar graph of the
  695.         WHOLE archive build.  This switch is only effective during adds.
  696.  
  697.  
  698.      "-i5" switch
  699.  
  700.         This switch shows the percentage progress including a bar graph
  701.         of the WHOLE archive build.  This switch is only effective during
  702.         adds.
  703.  
  704.  
  705.      "-i6" switch
  706.  
  707.         This switch shows the percentage progress of the WHOLE archive
  708.         build along with a progress bar graph for the current file.  This
  709.         switch is only effective during adds.
  710.  
  711.  
  712.      "-s3" switch
  713.  
  714.         This switch sets ARJ to keep both the original archive file
  715.         time-stamp as well as the original internal archive modified
  716.         time-stamp when modifying the archive.
  717.  
  718.         This feature is helpful when adding a copy of the data damage
  719.         protection file to the "protected" archive.  Using this switch,
  720.         you can add a file to an archive and then remove that file and
  721.         end up with the original archive.  This is necessary because any
  722.         change in archive contents would be perceived as damage by the
  723.         ARJ "q" (repair archive) command.
  724.  
  725.         Example:   ARJ a archive *.doc -hk
  726.                    ARJ a archive archive.xrj -s3
  727.                    ARJ e archive archive.xrj -d -s3
  728.                    ARJ q archive
  729.  
  730.         The above sequence of commands replicates a situation where the
  731.         user embeds a copy of the data damage protection file into the
  732.         "protected" archive.  In the case of slight archive damage, the
  733.         protection file can be extracted and used to recover damaged data.
  734.  
  735.  
  736.      "-u1" switch
  737.  
  738.         This switch is used to select files that are OLDER or NEW for
  739.         extracting or adding.
  740.  
  741.  
  742.      "-u2" switch
  743.  
  744.         This switch is used to select files that are DIFFERENT (different
  745.         date-time or different size) or NEW for extracting or adding.
  746.  
  747.         There is a slight limitation to this switch.  When processing
  748.         files that are split across volumes, the size test is skipped.
  749.  
  750.  
  751.      "-u3" switch
  752.  
  753.         This switch is used to select files that are CRC mismatches or NEW
  754.         for extracting or adding.  The 32 bit CRC (checksum) of the file is
  755.         matched against the CRC of the file in the archive.
  756.  
  757.         There is a slight limitation to this switch.  When processing
  758.         files that are split across volumes, the CRC test is skipped.
  759.  
  760.  
  761.      "-v" switch
  762.  
  763.         For specifying sizes for this option, ARJ will accept the "M"
  764.         modifier to multiply by 1,000,000 (one million).
  765.  
  766.         Examples:  ARJ a vol -v100M
  767.                    ARJ a vol -vr1M1440
  768.  
  769.  
  770.      "-hb" switch
  771.  
  772.         This switch is used to select by file attribute or file type.
  773.  
  774.         The "-hb" option can be used to select files by their attributes
  775.         (normal, readonly, hidden, system, directory, and archive bit).
  776.         "Normal" is defined as files that are NOT the following: readonly,
  777.         hidden, system, label, chapter header, or directory.  For
  778.         extract/list operations, you can also select chapter labels and
  779.         volume labels.  By default, the "-hb" option by itself selects all
  780.         types of files.  If you specify a letter symbol representing a file
  781.         type, you are selecting ONLY that type of file.  You can specify a
  782.         series of letters representing all of the file types that you want
  783.         to select.  For example, the "-hbdr" option selects both
  784.         directories and readonly files.  Selections are additive.
  785.  
  786.         Example: -hbnr   select only normal and readonly files
  787.  
  788.         Single letters represent each attribute or type.
  789.           a - archive bit set
  790.           b - archive bit clear
  791.           h - hidden
  792.           r - readonly
  793.           s - system
  794.           d - directory
  795.           n - normal files (not d, h, r, s, l, c)
  796.           l - volume label
  797.           c - chapter label
  798.           f - abbreviation for "ndhrs"
  799.  
  800.         The archive bit selection ("a" or "b") is a special case.  If you
  801.         have selected no types of files EXCEPT files with the archive bit
  802.         set, ARJ will select from the set of all file types. If you have
  803.         selected one or more file types, ARJ will select based upon the
  804.         archive bit from the selected set of files types.
  805.  
  806.         Examples: -hbhrsa      select hidden, readonly files with archive
  807.                                bit set
  808.                   -hba         select all files with archive bit set
  809.  
  810.         Add/update options  : f, d, r, h, s, n, a, b.
  811.  
  812.         Extract/list options: f, d, r, h, s, n, a, b, c, l.
  813.  
  814.         Examples:  ARJ a archive *.* -r -hbrs     select only readonly
  815.                                                   and system files
  816.                    ARJ a archive *.* -r -hbd      store only directories
  817.                    ARJ l archive *.* -hbr         list only readonly files
  818.                    ARJ l archive -jb* -hbc        list chapter headers
  819.  
  820.         Notes:  The option "-hb" with no letter options is an abbreviation
  821.         for "-hbndhrslc" (everything).
  822.  
  823.  
  824.      "-hf" switch
  825.  
  826.         This switch disables Windows 95 long filename handling.  ARJ will
  827.         use the standard DOS 8.3 APIs (DOS shortnames) to do its
  828.         processing.  Files so archived with this switch can be extracted
  829.         under Windows 95 and DOS.
  830.  
  831.         This switch can be used while listing a dual-name archive under
  832.         Win95 to list/process the shortnames.
  833.  
  834.  
  835.      "-hf1" switch
  836.  
  837.         This switch in Win95 during archival sets ARJ to build a dual-name
  838.         compatibility archive by storing the shortname in the filename
  839.         field and the longname in the file comment field, so that both long
  840.         filenames and short filenames are stored in the archive.
  841.  
  842.         Such a dual-name archive is compatible with older versions of ARJ.
  843.         New versions of ARJ process such an archive according to the
  844.         current operating system environment.  Under Win95, the long
  845.         filenames in the archive are used.  Under MS-DOS, the short
  846.         filenames are used.  This processing is automatic for this release
  847.         of ARJ.
  848.  
  849.         The "-e1" option does not affect the short name that is stored.
  850.  
  851.         During extraction this switch sets ARJ to extract files from a
  852.         Win95 archive (built without "-hf" option) by using generated
  853.         names.  ARJ will generate a short name based upon "W95LNAME.000"
  854.         and its sequence number in the archive.
  855.  
  856.         Specifying the "-ji" option with an index filename along with
  857.         "-hf1" will generate an index file with the W95LNAME.000 names and
  858.         the associated long filenames.  The long filenames are quoted.
  859.  
  860.         Example:  ARJ x archive -hf1 -jiindex.log
  861.  
  862.         This option with "-ji" can be useful when trying restore long
  863.         filenames on a system that allows long filenames such as OS/2,
  864.         WinNT, or Linux.
  865.  
  866.         Please note that modifying a dual-name archive outside of Windows
  867.         95 is possible but it may produce an archive with some dual-names
  868.         and some not.
  869.  
  870.         The "-hf1" option has no effect on a dual-name archive during
  871.         extraction.
  872.  
  873.  
  874.      "-hf2" switch
  875.  
  876.         This switch sets ARJ to attempt to extract using the long filenames
  877.         stored in the archive.  No modification is done to the long
  878.         filenames except by DOS itself.  This switch also sets ARJ to use
  879.         the standard DOS 8.3 APIs for processing.  Because of the
  880.         shortening of the filenames by DOS, duplicate filenames may result.
  881.  
  882.         You would typically use this option when transferring files from
  883.         a Win95 system to a DOS system.
  884.  
  885.  
  886.      "-hg" switch
  887.  
  888.         This switch is used to specify the filename of the encryption
  889.         module to be used when encrypting a new archive.  The default
  890.         filename is "ARJCRYPT.COM".  ARJCRYPT.COM contains a new encryption
  891.         scheme that is incompatible with earlier releases of ARJ.  ARJ will
  892.         look for the encryption module in the directory that contains the
  893.         copy ARJ.EXE that is being executed unless the specified module
  894.         name contains a path symbol "\" as in "ARJ\OLDCRYPT.COM".  If you
  895.         want to use a module in the current directory, you should specify
  896.         the name as in ".\ARJCRYPT.COM".  The "." indicates the current
  897.         directory.
  898.  
  899.         With an existing archive, ARJ detects the encryption scheme that
  900.         was used to encrypt the archive and uses the same scheme regardless
  901.         of whether the "-hg" option is specified or not.
  902.  
  903.  
  904.      "-hk" switch
  905.  
  906.         The "-hk" switch sets ARJ to create an ARJ-PROTECT data protection
  907.         file.  This file is named similarly to the created archive except
  908.         for an "X" in the beginning of the file extension as in NAME.XRJ.
  909.         This ARJ-PROTECT file contains necessary information to repair
  910.         damage to the original archive.  The "-hk1", "-hk2" ... "-hk9"
  911.         options will generate larger ARJ-PROTECT files affording a higher
  912.         probability of a successful repair.
  913.  
  914.         If the archive already exists, an ARJ-PROTECT data file can be
  915.         created via the "t" command.
  916.  
  917.         Example:  ARJ t archive -hk            builds archive.xrj file
  918.  
  919.         For users who do not like the separate protection file feature,
  920.         there is a work-around.  Using the new "-s3" option (keep original
  921.         time-stamps), the user can add the ARJ-PROTECT file to the
  922.         protected archive and extract it later for repair purposes.
  923.  
  924.         Example:  ARJ a docs *.txt -hk          builds protected archive
  925.  
  926.                   ARJ a docs docs.xrj -s3       inserts protect file
  927.  
  928.                   ARJ e docs docs.xrj -s3 -d    extracts and removes
  929.                                                 protect file restoring
  930.                                                 the original archive
  931.  
  932.                   ARJ q docs                    repairs archive
  933.  
  934.  
  935.      "-hm" switch
  936.  
  937.         The "-hm" switch sets ARJ to transfer the list of filenames to be
  938.         archived from the limited conventional memory to file storage.
  939.         This allows a much larger number of files to be processed (over
  940.         65,000).  This option is ignored for all ARJ commands except
  941.         "a", "f", "j", "m", "u".
  942.  
  943.         Normally, this switch sets ARJ to wait until it is out of memory
  944.         storing filenames into a list before transferring that list to a
  945.         temporary file.  That temporary file is put in the current
  946.         directory or the special work directory if specified (-hm!F:\) or
  947.         XMS memory is specified (-hm!).
  948.  
  949.         However, there may be a few cases where ARJ will run out of memory
  950.         doing other tasks while it is storing this list.  In these cases,
  951.         ARJ will abort.  The user can specify a numeric argument of "1" to
  952.         this switch to force ARJ to transfer the list to file storage
  953.         immediately.
  954.  
  955.         The "-hm" work directory is specified by appending a "!" to the
  956.         "-hm" or "-hm1" options and then appending the filename to the
  957.         option.  See below.
  958.  
  959.         Examples:  ARJ a archive c:\*.* -r -hm
  960.                    ARJ a archive c:\*.* -r -hm1
  961.                    ARJ a a:archive c:\*.* -r -va -hm500!F:\
  962.                    ARJ a a:archive c:\*.* -r -hm!G:\temp\
  963.  
  964.         The use of a RAMDISK directory will provide the fastest operation.
  965.  
  966.  
  967.      "-hm!" switch
  968.  
  969.         The "-hm!" option with no pathname appended to it will set ARJ to
  970.         store its list of filenames in XMS memory.  List processing will be
  971.         faster using XMS memory as opposed to using disk space.  If no XMS
  972.         memory is available, ARJ will use conventional memory and then disk
  973.         space if needed.
  974.  
  975.         If there is not enough XMS memory available for the internal list,
  976.         ARJ will abort.  The XMS accelerator in Hurricane 2.0 for Windows
  977.         may interfere with this switch while in Windows.
  978.  
  979.  
  980.      "-hq" switch
  981.  
  982.         This switch sets ARJ to ignore the error that occurs when ARJ
  983.         cannot open a file for lack of permitted access during an add-type
  984.         command and/or a compare command.  This is DOS error code 5. This
  985.         option applies only to files being added to a new archive and/or
  986.         being compared.  For an existing archive, this option will be
  987.         ignored during the add operation, but NOT during a subsequent
  988.         compare operation.
  989.  
  990.         Typically, this switch would be used during network access or in
  991.         Windows 95 where a file is open for exclusive use by another
  992.         process.  Normally, in this situation, ARJ would return a non-zero
  993.         DOS error level.  However, if this switch is specified, ARJ will
  994.         NOT return a non-zero error level due to this specific open
  995.         failure.
  996.  
  997.         If you use the "-ji" option to set up an index file, ARJ will log
  998.         any file that it cannot open.
  999.  
  1000.  
  1001.      "-hq1" switch
  1002.  
  1003.         This switch sets ARJ to ignore the error that occurs when ARJ
  1004.         cannot open a file because it cannot be found during an add-type
  1005.         command and/or a compare command.  This is DOS error code 2.  This
  1006.         option applies only to files being added to a new archive and/or
  1007.         being compared.  For an existing archive, this option will be
  1008.         ignored during the add operation, but NOT during a subsequent
  1009.         compare operation.
  1010.  
  1011.         This open error typically happens when a temporary file that ARJ
  1012.         has found to archive is purged by another process before ARJ can
  1013.         actually open and compress/compare it.  This is not the same error
  1014.         as when a user specifies a filename on the command line and ARJ
  1015.         cannot find it.
  1016.  
  1017.         If you use the "-ji" option to set up an index file, ARJ will log
  1018.         any file that it cannot open.
  1019.  
  1020.  
  1021.      "-hq2" switch
  1022.  
  1023.         This switch sets ARJ to ignore both the no access error and the
  1024.         not found error during an add-type command for new archives as
  1025.         above.
  1026.  
  1027.  
  1028.      "-ht" switch
  1029.  
  1030.         This switch is provided as an alternative to the standard method of
  1031.         specifying a target directory.  This new option can be specified in
  1032.         the ARJ configuration file or in the ARJ_SW environment variable as
  1033.         well as on the command line.
  1034.  
  1035.         Examples:  ARJ x archive *.* -htD:\DESTDIR
  1036.                    SET ARJ_SW=-hf -htD:\DESTDIR
  1037.  
  1038.  
  1039.      "-j#" switch
  1040.  
  1041.         This switch allows the building and testing of a special ARJ
  1042.         "HOLLOW" archive that is missing the actual compressed file
  1043.         contents.  This allows the creation of small archives for CRC
  1044.         testing against the CRCs of actual files.  This is suited for
  1045.         special applications. Please take note that NO actual file data can
  1046.         be extracted from these "HOLLOW" archives.
  1047.  
  1048.         For example, a user has transported a directory of files from one
  1049.         PC to another PC.  At a later time, that user would like to
  1050.         determine which files have actually changed their contents
  1051.         regardless of the date-time stamps.  That user could archive the
  1052.         original directory using the -j# switch which builds the ARJ
  1053.         "hollow" archive with the sole exception that no compressed data is
  1054.         stored with the archive.  This allows the rapid building of a much
  1055.         smaller archive.  The file CRC is computed and stored in the
  1056.         archive.  This new "hollow" archive is transported to the other PC.
  1057.         A simple ARJ test command with the "-jt1" option on the other PC
  1058.         would point out files whose content's CRC do not match.
  1059.  
  1060.         Another use of this "hollow" archive is for FILE INTEGRITY
  1061.         checking.  You can create this "hollow" CRC archive and use it at a
  1062.         later time to determine if any files have been corrupted or damaged
  1063.         by VIRUS or system problems.
  1064.  
  1065.         Please note that there is a VERY SMALL possibility that a file has
  1066.         been changed and its new 32 bit CRC still matches.  That
  1067.         possibility is approximately one in four billion.
  1068.  
  1069.         The -j# option during an ARJ archive build will set the compression
  1070.         method to 9.  The only change is that the file header will indicate
  1071.         that the compressed file size is ZERO.  Otherwise, the file header
  1072.         is the same as in an archive where the file was actually compressed
  1073.         and stored.
  1074.  
  1075.         To use this "hollow" archive to test CRCs against actual file CRCs,
  1076.         use the following syntax:
  1077.  
  1078.         Syntax:  ARJ t archive_name -jt1
  1079.                  ARJ t archive_name target_dir\ -jt1
  1080.  
  1081.         The second command above is used where the relative pathnames
  1082.         stored in the archive do not match up with the current directory.
  1083.         See the discussion in ARJ.DOC for more information on the option
  1084.         "-jt".
  1085.  
  1086.         When ARJ displays "NOT matched" for a "hollow" archive, it means
  1087.         the file size in the archive and the size of the actual file do NOT
  1088.         match.
  1089.  
  1090.  
  1091.      "-j#1" switch
  1092.  
  1093.         This option differs from the "-j#" option in that the 32 bit CRC is
  1094.         NOT stored.  The compression method is set to 8.
  1095.  
  1096.  
  1097.      "-ja" switch
  1098.  
  1099.         This switch has acquired NEW functionality.  Its OLD function was
  1100.         to set ARJ to fully display ANSI escape sequences.  It now is used
  1101.         with the "ARJ p" command to display files using ARJ's own ANSI
  1102.         display handler.  ANSI.SYS is no longer needed.
  1103.  
  1104.         Example:  ARJ p ansifile -ja -q
  1105.  
  1106.  
  1107.      "-jb" switch
  1108.  
  1109.         This switch sets ARJ to build a chapter archive.  Once an archive
  1110.         is set to a chapter archive, all subsequent processing will
  1111.         continue to treat it as a chapter archive.
  1112.  
  1113.         The advantage of a chapter archive over a series of separate
  1114.         archives of the same set of files is that space can be saved when
  1115.         archived files do not change.  A single chapter archive can produce
  1116.         the same results as one hundred standard archive backups.  In other
  1117.         words, one can update a chapter archive one hundred times and fully
  1118.         recover any one of those updates.
  1119.  
  1120.         Technically speaking, each file in a chapter archive has a chapter
  1121.         lifespan range.  When a file is backed up and has not changed since
  1122.         the last backup, only the lifespan range is changed.  A copy of the
  1123.         file is NOT added to the archive since a copy already exists in the
  1124.         archive.  If the backed up file is different from the previous
  1125.         version, then that file is added to the archive with an appropriate
  1126.         chapter range. The previous version of the file is still kept in
  1127.         the chapter archive.  When a particular chapter is restored, ARJ
  1128.         selects only the files whose lifespan includes the chapter number
  1129.         requested.
  1130.  
  1131.         As an example, suppose one made a series of daily chapter backups
  1132.         of a document directory where only one document out of the one
  1133.         hundred documents changes on a daily basis.  The chapter archive
  1134.         would contain the original one hundred documents plus a copy of
  1135.         each day's changed document.
  1136.  
  1137.         When processing chapter archives, all ARJ add type commands
  1138.         (A,M,F,U) will create a new chapter in the chapter archive.  Up to
  1139.         a maximum of 250 chapters can be stored in a single archive.  The
  1140.         proper way to build and update a chapter archive is with the "ac"
  1141.         command.  You should use the same command line arguments for
  1142.         each chapter update.  If you fail to select the same files as
  1143.         before, the chapter archive will not update the lifespan ranges
  1144.         properly and those unselected files will "appear" to have been
  1145.         deleted for the current chapter.  By default, the "ac" command
  1146.         will update a chapter archive with files that are DIFFERENT from
  1147.         the previous chapter (different size or date-time stamp).  The
  1148.         "ac" command is actually an abbreviation for the following
  1149.         command and options: "u -u2 -jb", so you CANNOT use the "-u" or
  1150.         "-jb" options with the "ac" command.
  1151.  
  1152.         ARJ ac archive dir\  *.txt *.doc *.wri      initial build
  1153.         ARJ ac archive dir\  *.txt *.doc *.wri      second chapter
  1154.         ARJ ac archive dir\  *.txt *.doc *.wri      third chapter
  1155.         ARJ ac archive dir\  *.txt *.doc *.wri      fourth chapter
  1156.         ARJ ac archive dir\  *.txt *.doc            fifth chapter will be
  1157.                                                     missing all *.wri files
  1158.  
  1159.         An expert with ARJ may want to use the actual commands and switches
  1160.         instead of the "ac" command.
  1161.  
  1162.         ARJ u -u2 -jb archive dir\ *.txt
  1163.  
  1164.         The "-jb$" option will allow ARJ add type commands to update/replace
  1165.         files in the most recent chapter in the archive.  This option can be
  1166.         used to "fix" a chapter where files are missing.  Be careful doing
  1167.         this.  It is much simpler and safer to add a new chapter to the
  1168.         archive.
  1169.  
  1170.         ARJ a archive -jb$ dir\  *.wri
  1171.  
  1172.         It is possible to change a standard ARJ archive to a chapter archive
  1173.         with the "y" command and the "-jb" option.  The opposite is possible
  1174.         with the "-jb0" option.
  1175.  
  1176.         ARJ y archive -jb      converts archive to chapter archive
  1177.         ARJ y archive -jb0     converts chapter archive to standard archive
  1178.  
  1179.         You can restore the files in the most recent chapter as in:
  1180.  
  1181.         ARJ x archive
  1182.  
  1183.         You can restore a specific chapter as in:
  1184.  
  1185.         ARJ x archive -jb10    restores chapter 10
  1186.         ARJ x archive -jb20    restores chapter 20
  1187.  
  1188.         You can restore a range of chapters as in:
  1189.  
  1190.         ARJ x archive -jb2-5   extracts chapters 2 to 5
  1191.         ARJ x archive -jb2-    extracts chapters 2 to the last chapter
  1192.  
  1193.         Please note that when restoring a range of chapters, ARJ will
  1194.         segregate each chapter's set of files in a numbered directory
  1195.         based upon the chapter number.  Files whose lifespans range over
  1196.         a series of chapters will be located in the first of that series.
  1197.  
  1198.         This feature is useful for looking over the changes that have
  1199.         occurred over a series of chapters.
  1200.  
  1201.         You can list a specific chapter or chapter range as in:
  1202.  
  1203.         ARJ l archive -jb10    lists chapter 10
  1204.         ARJ l archive -jb2-5   lists chapters 2 to 5
  1205.         ARJ l archive -jb2-    lists chapters 2 to the last chapter
  1206.         ARJ l archive          lists the most recent chapter
  1207.  
  1208.         You can see the chapter ranges for each file in the archive with
  1209.         the following command:
  1210.  
  1211.         ARJ l archive -jb* -jv
  1212.  
  1213.         To start all over again with a chapter archive, you should purge all
  1214.         of the previous chapters, convert the archive to a standard archive,
  1215.         and then back to an archive chapter.
  1216.  
  1217.         Example:  ARJ k archive *.*
  1218.                   ARJ y archive -jb0
  1219.                   ARJ d archive *.* -hbc       remove chapter labels
  1220.                   ARJ y archive -jb
  1221.  
  1222.         You cannot modify specific chapters other than the most recent
  1223.         chapter in terms of adding, deleting, or changing files.
  1224.  
  1225.         You can remove the most recent chapter with the following
  1226.         commands:
  1227.  
  1228.         ARJ d archive *.* -jb
  1229.         ARJ dc archive *.*
  1230.  
  1231.         If you do not specify the "-jb" with a delete command, the
  1232.         archive chapter label will not be deleted.
  1233.  
  1234.         You can comment the chapter labels as a way of identifying each
  1235.         chapter backup.
  1236.  
  1237.         ARJ c archive -hbc -jz         comments the last chapter label
  1238.         ARJ c archive "<<*" -jz        comments the last chapter label
  1239.         ARJ c archive -hbc -jz -jb*    comments all chapter labels
  1240.         ARJ c archive -hbc -jz -jb5    comments the label for chapter 5
  1241.  
  1242.  
  1243.      "-jb0" switch
  1244.  
  1245.         This switch is also used with the "y" command to convert a standard
  1246.         archive to a chapter archive.
  1247.  
  1248.         ARJ y archive -jb0     converts chapter archive to standard archive
  1249.  
  1250.  
  1251.      "-jb*" switch
  1252.  
  1253.         This switch is used to select all chapters.
  1254.  
  1255.         When it is used with the LIST command, ARJ displays all chapters.
  1256.  
  1257.         ARJ l archive -jb*     displays all chapters
  1258.  
  1259.         This switch can be used with the DELETE command to remove all
  1260.         chapters of selected file(s).
  1261.  
  1262.         ARJ d archive -jb* *.bak *.tmp
  1263.  
  1264.  
  1265.      "-jb$" switch
  1266.  
  1267.         This switch can be used with the ADD command to modify the most
  1268.         recent chapter files.
  1269.  
  1270.         ARJ a archive -jb$ dir\  *.wri
  1271.  
  1272.  
  1273.      "-jo" switch
  1274.  
  1275.         New to this release, the "-jo" option during extraction works along
  1276.         with the "-f" and "-u" type options.  In other words, if you want to
  1277.         freshen a set of files from an archive, the use of the "-jo" option
  1278.         will generate unique names for any files extracted.
  1279.  
  1280.         Example:  ARJ x archive *.* -u -jo
  1281.  
  1282.  
  1283.      "-js" switch
  1284.  
  1285.         The "-js" option by itself is the same as:
  1286.         -js.ARJ.ZIP.PAK.ARC.RAR.J.UC2.LZH.ZOO
  1287.  
  1288.  
  1289.      "-jyv" switch
  1290.  
  1291.         As a clarification of older documentation, the "-jyv" option will
  1292.         disable the next volume prompt EVEN with removable media.  The
  1293.         global "-y" option does not disable the next volume prompt with
  1294.         removable media.
  1295.  
  1296.  
  1297.      end document
  1298.  
  1299.