home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 6 File
/
06-File.zip
/
bsplit13.zip
/
BSPLIT.DOC
< prev
next >
Wrap
Text File
|
1994-06-13
|
5KB
|
124 lines
Documentation of BSPLIT.EXE and BCOMB.EXE
╔════════════════════════════════╗ ╔════════════════════════════════╗
║ BSPLIT ║ ║ BCOMB ║
║ Binary File Splitter ║ ║ Binary File Combiner ║
║ ║ ║ ║
║ Version 1.3 for OS/2 ║ ║ Version 1.3 for OS/2 ║
║ (c) 1994 Klaus Topole ║ ║ (c) 1994 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,
GIF, WAV and other large binary 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.
Both utilities support HPFS.
BSPLIT splits any binary file into any number of smaller files of any
desired size. You can tell BSPLIT the size for each split file.
BSPLIT then splits the original file - of course without erasing it -
into the appropriate number of smaller files. BCOMB combines the split
files back to the original file. BSPLIT basically offers three
different options: 1. Target files have size of one diskette
2. Diskettes in A: or B: drive are filled
3. Target files have user specified sizes
The options can be specified on the command line as follows:
Usage: BSPLIT filename [TargetSize]
with: TargetSize = 1.4M for 3.5" HD Diskettes (default)
TargetSize = 1.2M for 5.25" HD diskettes
TargetSize = .72M for 3.5" DD diskettes
TargetSize = .36M for 5.25" DD diskettes
TargetSize = A: fill disk in A: drive
TargetSize = B: fill disk in B: drive
or TargetSize = Size of target file in KByte
BSPLIT uses the following file nomenclature:
The characters A,B,C,.. will be appended to the extension of all
split files in consecutive order. If the source 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 target file name
would be identical with the name of the source file, the source file
will be renamed by truncating the last character of its extension.
The file size is handled in increments of 0.5 KByte (= 512 bytes).
Example 1:
Source file: TEST.ZIP size: 1643892
Command: BSPLIT TEST.ZIP
Target files: TEST.ZIA size: 1457664 (fits on one 3.5" disk)
TEST.ZIB size: 186228
Example 2:
Source file: TEST.DOC size: 1643892
Command: BSPLIT TEST.DOC 400
1205.4 KBytes left, input size of target file # 2 in KByte: 120
1085.4 KBytes left, input size of target file # 3 in KByte: 678
407.4 KBytes left, input size of target file # 4 in KByte: 500
Target files: TEST.DOA size: 409600
TEST.DOB size: 122880
TEST.DOC size: 694272
TEST.DOD size: 417140
(Source file TEST.DOC renamed to TEST.DO to avoid overwriting)
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
correct 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:
Usage: BCOMB filename
with: filename = name of any split file (including extension)
Example 1:
Split files: TEST.ZIA size: 1457664
TEST.ZIB size: 186228
Command: BCOMB TEST.ZIA
Combined file: TEST.ZI size: 1643892
Example 2:
Split files: TEST.DOA size: 409600
TEST.DOB size: 122880
TEST.DOC size: 694272
TEST.DOD size: 417140
Command: BCOMB TEST.DOB
Combined file: TEST.DOC size: 1643892
I also included two icons for the utilities for your desktop. Create
a program object with your fovourite parameters to invoke the programs
simply by dragging and dropping the source file onto the icons.
I tossed these utilities out into the shareware world. Feel free
to make copies and pass them on to friends. Please keep the doc
with the programs. For any comments you can contact me @
Klaus Topole
Schultheißstr. 43
85049 Ingolstadt
Germany
Klausi