Command: arj

  ARJ is a packer / unpacker for the .arj format.

Syntax:

  Usage:    ARJ <command> [-<sw> [-<sw>...]] lt;archive_name> [<file_names>...]
  Examples: ARJ a -e archive, ARJ e archive, ARJ l archive *.doc

Commands:

  List of frequently used commands and switches.
  Type ARJ -? for more help.
 ac: Add Chapter to chapter archive     l: List contents of archive
  a: Add files to archive               m: Move files to archive
  c: Comment archive files              t: Test integrity of archive
  d: Delete files from archive          u: Update files to archive
  e: Extract files from archive         v: Verbosely list contents of
                                           archive
  f: Freshen files in archive           x: eXtract files with full
                                           pathname

Switches:

  c: skip time-stamp Check              r: Recurse subdirectories
  e: Exclude paths from names           u: Update files (new and newer)
  f: Freshen existing files             v: enable multiple Volumes
  g: Garble with password               w: assign Work directory
  i: with no progress Indicator         x: eXclude selected files
  m: with Method 0, 1, 2, 3, 4          y: assume Yes on all queries
  n: only New files (not exist)        hk: enable ARJ-PROTECT damage
                                           protection

Comments:

  ARJ is a packer and unpacker and has a lot of options and switches.
  Type ARJ -? for more help than above.
  ARJ has an extensive documentation that is beyond the scope of
  this help. For more information see:
  https://gitlab.com/FreeDOS/archiver/arj OR WIKI:
  https://en.wikipedia.org/wiki/ARJ
  ARJ has the following errorlevels:
  0  success
  1  warning (specified files to add to archive, 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 [DOS] XMS memory error (read or write)
 11 user control break
 12 too many chapters (over 250)
 

Examples:

  Example 1:
  Add all files and subfolders of C:\FREEDOS to C:\archive.arj
    fdnpkg install arj  (OR: start fdimples and install arj from CD)
    arj ac C:\archive.arj C:\FREEDOS\*.* -r
  Example 2:
  List contents of archive C:\archive.arj and send the list to
  C:\archive.txt
    arj l archive.arj > C:\archive.txt
  Example 3:
  Restore C:\archive.arj to C:\test\ :
    arj x C:\archive.arj C:\test\ *.*
  Example 4:
  Backup all files on OS partition C: to D:\backup_c.arj (without
  MBR):
    fdnpkg install arj (OR: start fdimples and install arj from CD)
    copy C:\FREEDOS\BIN\arj.exe D:\ OR: A: if you have a boot diskette
    (you may need arj for restore later)
    arj ac D:\backup_c.arj C:\*.* -r
  Restoring all files back from D: (partition C must still be OK!)
  You need a bootable diskette or live CD etc, (if you can still boot
  from C: you can also use it), boot from it and goto D:
    D:\arj x D:\backup_c.arj C:\ *.*  (you are asked for creating a
    directory, enter "a" for "all".

See also:

  7zdec
  bzip2
  cabext
  fdimples
  fdnpkg
  gzip
  lpq1
  lzip
  lzma
  lzop
  p7zip
  slicer
  tar
  unzip
  zip
  zoo

  Copyright © 2005 Andrew Belov and others, help version 2023
  W. Spiegl.

  This file is derived from the FreeDOS Spec Command HOWTO.
  See the file H2Cpying for copying conditions.