home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
HomeWare 14
/
HOMEWARE14.bin
/
wordproc
/
bsplit.arj
/
BSPLIT.DOC
< prev
next >
Wrap
Text File
|
1993-05-04
|
4KB
|
96 lines
Documentation of BSPLIT.EXE and BCOMB.EXE
╔════════════════════════════╗ ╔════════════════════════════╗
║ BINARY FILE SPLITTER ║ ║ BINARY FILE COMBINER ║
║ OS/2 Version 5/93 ║ ║ OS/2 Version 5/93 ║
║ (c) 1993 Klaus Topole ║ ║ (c) 1993 Klaus Topole ║
╚════════════════════════════╝ ╚════════════════════════════╝
BSPLIT and BCOMB are two utilities to split and combine any binary
and ASCII files. I often had the problem to somehow save large ZIP
files on diskettes to pass them to other computers or simply for
backup purposes. That's why I wrote my own utilities to do just that
in a very efficient way.
BSPLIT splits any large file into any number of smaller files of any
desired size. You can tell BSPLIT a maximum file size in KB for the
produced files. BSPLIT then splits the original file - of course
without erasing it - into the appropriate number of smaller files.
All file sizes are handled in increments of 0.5 KB (= 512 bytes). The
maximum file size (in KB) can be passed on the command line using any
integer or real number.
Use BSPLIT on the command line as follows:
BSPLIT filename [MaxKB]
where MaxKB is any integer or real number or
MaxKB = 1.4M for 3.5" HD Diskettes (default)'
MaxKB = 1.2M for 5.25" HD Diskettes'
MaxKB = .72M for 3.5" DD Diskettes'
MaxKB = .36M for 5.25" DD Diskettes'
BSPLIT uses the following file nomenclature:
The characters A,B,C,.. will be appended to the extension of all
output files in consecutive order. If the original file already has a
three character extension, the last character of the file extension
will be replaced with A,B,C,.. and so forth. If any output file name
would be identical with the name of the original file, the original
file will be renamed by truncating the last character of its extension.
Example 1:
Original File: TEST1.ZIP File Size: 842.0 KB
Command: BSPLIT TEST1.ZIP 400
Output Files: TEST1.ZIA File Size: 400.0 KB
TEST1.ZIB File Size: 400.0 KB
TEST1.ZIC File Size: 42.0 KB
Example 2:
Original File: TEST2.DOC File Size: 3000.0 KB
Command: BSPLIT TEST2.DOC
Output Files: TEST2.DOA File Size: 1423.5 KB
TEST2.DOB File Size: 1423.5 KB
TEST2.DOC File Size: 153.0 KB
Original File TEST2.DOC is renamed to TEST2.DO
BCOMB combines the files created with BSPLIT to its original file.
No matter how big or how many files must be combined, BCOMB
automatically locates all split files and combines them in the
right order from one single command. The combined file will have
the name of the split files without the last character of the file
extension.
Use BCOMB on the command line as follows:
BCOMB filename
with filename = Filename of Any of the Split
Files Including Extension
Example 1:
Original Files: TEST1.ZIA File Size: 400.0 KB
TEST1.ZIB File Size: 400.0 KB
TEST1.ZIC File Size: 42.0 KB
Command: BCOMB TEST1.ZIA
Output File: TEST1.ZI File Size: 842.0 KB
Example 2:
Original Files: TEST2.DOA File Size: 1423.5 KB
TEST2.DOB File Size: 1423.5 KB
TEST2.DOC File Size: 153.0 KB
Command: BCOMB TEST2.DOB
Output File: TEST2.DO File Size: 3000.0 KB
I tossed these utilities out into the shareware world. Feel free
to make copies and give them on to friends. Please keep the
documentation with the programs. For any comments you can contact
me via E-Mail: KGT9276@RIGEL.TAMU.EDU
Phone: (409) 764-1104
Klaus Topole