home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Simtel MSDOS 1992 September
/
Simtel20_Sept92.cdr
/
msdos
/
arc_lbr
/
arcdmp1.arc
/
ARCDMP.DOC
< prev
next >
Wrap
Text File
|
1988-01-01
|
3KB
|
65 lines
ARCDMP V1.1
An ARC-File Chopper
by Jim Kyle [76703,762]
CLMFORUM
ARCDMP is a program which does for ARC files what Jean LaLonde's
FILL.EXE program does for subdirectories: pulls out the maximum number
that can fit on a single floppy disk and copies them into a new file,
then repeats the process until the entire ARC file has been copied.
All the new files, except for the last one, will be packed as full as
they can be and still fit on a standard 360K floppy.
The ARCDMP.ARC file contains this document, the C source for the
program, and the EXE file. You need only the EXE file to use it.
Here's a typical output from a test run of ARCDMP:
C>arcdmp ../arcdmp a:da
Floppy = 12237 bytes (A:DA001.ARC):
ARCDMP.C 2587 0
ARCDMP.EXE 9650 2587
Final--> 0 0
The first line shows how to run the program. The first argument
passed on the command line is the name of the ARC file to be
processed, and the second is the "prefix" portion of the names to be
used for the output files. The prefix name will be trimmed to the
first five characters. Subdirectories can be identified by the
backslash '\' or slash '/' characters. Drive names are optional and
assume the current drive if not given.
As ARCDMP processes the ARC file, it will produce a "Floppy ="
report line each time it is ready to output a file. The number is the
exact size of the output file, and the filename in parentheses is the
one which will be assigned to the output file.
Following that line are the names of the files being copied. The
first number reported is the file size in bytes. The second is an
internal value (the offset in bytes within the original file at which
that file begins). After all files have been reported, the "Final-->"
line indicates completion of that segment of the task.
If the original file requires more than one output file, the
sequence of report lines is repeated for each in turn. The sequence
number (last three digits in the output filename) increases by one for
each.
When processing is complete, you'll see a DOS prompt. The program
gives no explicit end-of-processing report.
DISCLAIMER
This program is supplied at no charge to the user, and neither its
author nor any organization involved in its distribution warrants it
in any way. While it is believed to be useful, use is entirely at
your own risk. Use of the program constitutes acceptance of this
condition.
If you find ARCDMP useful, let me know. I'll be glad to listen to
suggestions for improvement, and eager to fix any reported bugs.
Jim Kyle
December 18, 1987