SpartaDOS X Reference Manual |
The Command Processor — Commands |
ARC (Archive Files) Command |
Purpose | Create and maintain file archives. |
||||||||||||||||||||||||||||||||||||||||||||||
Syntax | ARC command[option] [d:][path]arcfname[.ext] {filelist} |
||||||||||||||||||||||||||||||||||||||||||||||
Type | External — on device CAR: |
||||||||||||||||||||||||||||||||||||||||||||||
Remarks | SpartaDOS X brings a full featured ARC utility to Atari 8-bit computers. ARC is based on and compatible with
ARC.EXE by System Enhancement Associates which was written for the IBM PC. It is also compatible with ARC versions running on the Atari ST and other
computers. ARC will take a group of files and quickly combine and compress them into a single archive file, taking up far less disk space. It
will also add or extract files to or from this archive, show a directory of the archived files, display the contents of an archived file, show the compression method
used, encrypt/decrypt files, and more. "ARC" with no parameters will
display the syntax, command list, and options.
The "arcfname" is the file name of the archive. The "filelist" is the list of files to be added, deleted, updated, extracted, etc., to or from the archive. Leave a space between each filename in the filelist. Wildcards are perfectly legal. If no filelist is entered, "*.*" is assumed. "Command" is one of the following:
Valid options are:
Archive entries are always saved in alphabetical order. This sorting function puts a practical limit of about 80 files per archive on 64K machines (USE OSRAM) and 180 files per archive on computers which use the extended memory mode (USE BANKED). ARC will not run on 48K machines unless they have an AXLON compatible memory upgrade installed. Archive entries do not save pathnames which means duplicate file names are not allowed (one will replace the other). ARC is very useful for saving time while uploading/downloading files with a MODEM and saving space for archival storage. ARC uses four stowage methods and automatically determines the best method(s) suited to each file. Our SpartaDOS X version of ARC is also fully compatible with ALFcrunched files, but it is highly recommended that you unARC an ALFed file and then ARC it before adding or updating. This will assure the most compact compression and arrange all files alphabetically within the archive. The four stowage methods used in ARC are as follows: Stored — no compression used. This is mainly used with very short files. Packed — Strings of repeated values are collapsed. All files are packed before other compression methods are attempted. Squeezed — Huffman encoding compression. This is usually only effective with larger machine language files. Huffman encoding uses a weighted binary tree method assigning the lowest bit representations to the most commonly used characters. Crunched — Dynamic Lempel-Ziv compression with adaptive reset. This is created on the fly and is stored as a series of bit codes which represent character strings. Crunched is one of the more effective methods used. ALFcrunch exclusively uses a variant of this method. NOTICE: The name ARC, compatibility, and all other similarities to the ARC.EXE program by SEA (for MSDOS computers) are intentional. This trademark and the "look and feel" of the program have been licensed for SpartaDOS X by ICD, Inc. from SEA (System Enhancement Associates). |
Previous page |