text
stringlengths
0
99.6k
LOAD"ARC
Is the same as:
LOAD"0:ARC",9
3) The ARC Command.
The ARC command is quite flexible and
was designed to emulate the same syntax
as used on an IBM PC. The general
format is:
ARC/XY/Z D:ARCFILE D:PATRN1 D:PATRN2...
D:ARCFILE is the name of the archive
being created or extracted. You don't
have to give the ".arc" at the end of
the filename, ARC will fill it in for
you if you leave it out.
D:PATRN is a filename, and may
contain wildcards. A:BAID64, D:*, and
ARC220.4 are all legal names. *if you
don't specify a drive, then the default
drive is assumed! Note..spaces are not
allowed in filenames. If you need to
specify a space, use a shifted space
and ARC will change it to a space. (or
better yet...use a ? )
X, Y and Z are switches and can take
on a number of values. We'll just touch
on the most important ones here.
X=L ... Lists an archive directory
ARC/L A:TEST
Will type to the screen a directory
of the archive "TEST.ARC". If all you
get is garbage or an error message,
then either the file is not an archive,
its a higher version than your copy of
ARC, or its been corrupted somehow. You
should get a neat list of filenames,
types, lengths and storage formats,
with a summary at the end.
X=C ... Creates an archive.
ARC/C A:TEST B:GAME* B:*=S
Creates an archive names "TEST.ARC"
on drive 8,0 and includes all files
from drive 8,1 that begin with "GAME"
or are sequential.
Note: There can be up to eight
different filenames specified to be
included in the archive.
X=X ... Extracts an archive.
ARC/X A:TEST
This will extract all files from the
archive "TEST.ARC" on drive 8,0 and
place them on the default drive.
ARC/X A:TEST B*
Same as the above, but only extracts
files whose names begins with "B"
X=V ... Verify an archive
Syntax is identical to ARC/X, except
the files are not written to disk. ARC
simply expands them and recalculates
the checksum. It then compares the just
calculated checksum with the one stored
in the archive when it was created. If
they don't match then an error has
occured somewhere.
Thats about all you need to get you
going. All of this and more is delt
with in much more detail in the
documentation for ARC 2.20.
;arclog
;----------------------------------------------------------------------
;sq First version runs as external command... a:sq filename
;usq a:usq filename[.q]
;----------------------------------------------------------------------
;sq3 Still external, but allows more than one filename.
;usq3