home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DP Tool Club 15
/
CD_ASCQ_15_070894.iso
/
vrac
/
volume11.zip
/
VOLUME.DOC
< prev
next >
Wrap
Text File
|
1994-04-24
|
6KB
|
190 lines
********************************************************************************
11:48:47 04/24/94 Page 1
T O O L Z D O C U M E N T A T I O N
V O L U M E
********************************************************************************
o MODULE NAME
VOLUME
o LIBRARY NAME
TOOLZ
o TYPE
PROGRAM
o QUICK DESCRIPTION
Store/retrieve a large file on several volumes
o ARGUMENT DESCRIPTION
volume /i <volume name> ["/p=<command>[,del]"]
volume /o <volume name> <input file> ["/p=<command>[,del]"]
o NARRATIVE DESCRIPTION
The VOLUME utility writes a file to an output device, and breaks the
file into multiple volumes if the file size exceeds the capacity of
the output device. VOLUME also reads an volume from a device, and
the volume may be contained on multiple removable media. The volume
name must be specified without an extension as VOLUME will append an
extension to indicate the volume number.
VOLUME does not archive or compress files, but it will call your
favorite archiver or compress program for you.
Output mode:
If any files are contained on the removable media, they will not
be affected in any way. VOLUME uses the DOS file system on the
media instead of raw data transfer, allowing the storage of
other files on the media.
The first volume will contain the files, <name>.0 and <name>.1,
where <name> is the name you have chosen for the volume. The
next volume will contain <name>.2, and so forth. The last
volume will contain <name>.n and <name>, where n is the last
volume number and <name> is an empty file signifying that this
volume contains the last piece of the file.
If a preprocessor command option (/p) is specified, then the
specified "command" will be executed (usually an archiver) before the
********************************************************************************
T O O L Z M o d u l e D o c u m e n t a t i o n
********************************************************************************
********************************************************************************
11:48:47 04/24/94 Page 2
T O O L Z D O C U M E N T A T I O N
V O L U M E
********************************************************************************
volume creation is commenced. If the ",del" option is added to the
postprocessor option, the input file will be deleted upon
successful completion of "command." The /p option argument should be
quoted to preserve any spaces embedded in "command."
Input mode:
The volumes need to be read in the order they were created.
If a postprocessor command option (/p) is specified, then the
specified "command" will be executed (usually a de-arhiver) after the
volumes are read. If the ",del" option is added to the postprocessor
option, the input file (as restored to the current directory) will be
deleted upon successful completion of "command." The /p option
argument should be quoted to preserve any spaces embedded in
"command."
o RETURNS
EXITWARN if volume is prematurely aborted, EXITNORMAL otherwise.
o APPLICATIONS
UTILITY
o PLATFORMS
MSDOS
o REVISIONS
1/14/92
Add postprocess and preprocess options.
o FIXES
5/23/91
Improve documentation
9/12/91
Restoration (/i) was previously attempted with original full path
of file. Path is now removed.
o SOURCE LANGUAGE
C
o EXAMPLE(S)
********************************************************************************
T O O L Z M o d u l e D o c u m e n t a t i o n
********************************************************************************
********************************************************************************
11:48:47 04/24/94 Page 3
T O O L Z D O C U M E N T A T I O N
V O L U M E
********************************************************************************
volume /o a:filearc files.zip
volume /i a:filearc
volume /o b:fred bruce.zip "/p=pkzip bruce.zip c:\source\*.c,del"
volume /i b:fred "/p=pkunzip bruce.zip,del"
o NOTICE
Copyright 1991 Software Toolz, Inc. - Atlanta, Georgia
All rights reserved worldwide. You are granted a limited
license to use this program for evaluation purposes for an
evaluation period of sixty days. You may copy the program and
distribute it provided that: (1) no fee may be charged for such
copying and distribution, and (2) this program may only be
distributed in its original unmodified state. This program may
not be distributed with other programs for which a fee is
charged except by permission of Software Toolz, Inc.
This program is shareware. If you think that it is worth it,
please send the registration fee to Software Toolz.
o SOURCE VERSION
@(#) volume.c 1.18 93/03/09 23:04:55
o INTRODUCTION DATE
05/14/91
o LAST FILE UPDATE
04/24/94 11:47:19 -- volume.c
********************************************************************************
T O O L Z M o d u l e D o c u m e n t a t i o n
********************************************************************************