Dec 132017
 
BREAKFILe will break a text file into multiple files without disk thrashing. QuickC v1.01b source code is included.
File BREAKFIL.ZIP from The Programmer’s Corner in
Category Word Processors
BREAKFILe will break a text file into multiple files without disk thrashing. QuickC v1.01b source code is included.
File Name File Size Zip Size Zip Type
BREAKFIL.C 5185 1662 deflated
BREAKFIL.DOC 926 463 deflated
BREAKFIL.EXE 11015 6808 deflated
BREAKFIL.MAK 289 148 deflated

Download File BREAKFIL.ZIP Here

Contents of the BREAKFIL.DOC file


Break an ASCII input file into a number of n-line output files.

usage: BREAKFIL [infile] [n] [tempdisk]

where infile is in the current default directory,
n is number of lines per output file, and tempdisk
is an intermediate disk used to avoid thrashing. (tempdisk
should be different disk from one infile is on, and preferably
should be a Virtual RAM Disk).

You can create a 128 k byte Virtual RAM Disk by putting the line:
device=c:\dos\vdisk.sys size 128 k, sector 512, dir entries = 16
in your \config.sys file and rebooting your PC.

example: BREAKFIL C:ALLFILES.LST 1000 D:

This will break the file allfiles.lst into a number of 1000 line files.
Each output file will have a filename of brokenf.x where x is the
file number, i.e. brokenf.1 ... brokenf.999



 December 13, 2017  Add comments

Leave a Reply