Dec 122017
 
Copies files from HD to floppy using soace efficiently. C source.
File COPPY32.ZIP from The Programmer’s Corner in
Category C Source Code
Copies files from HD to floppy using soace efficiently. C source.
File Name File Size Zip Size Zip Type
COPPY.C 10696 3250 deflated
COPPY.DOC 4794 1807 deflated
COPPY.EXE 12970 8109 deflated
COPPY.PRJ 13 13 stored
SORT.C 4339 1413 deflated

Download File COPPY32.ZIP Here

Contents of the COPPY.DOC file


TITLE: COPPY ver 3.2
PURPOSE: Copy files by best fit from HD to floppies
DATE: 1-06-88
AUTHOR: Thomas A. Lundin
Graphics Unlimited Inc.
3000 2nd St. N.
Minneapolis, MN 55411
(612) 588-7571

DESCRIPTION: COPPY fits as many files in a hard disk directory as it can
onto floppy diskettes (any capacity). The files are copied by
file size, using the largest file that will fit in the
remaining available floppy disk space. The program accepts
either a filespec with wild cards or a directory list file --
that is, a file that is composed of a redirected DIR command
(e.g., DIR *.DOC >DIRLIST). The program recognizes diskettes
in any density.

Version 3.0 has an option to copy files in original unsorted
order.

OPERATION: The command line invocation is:

coppy [d:][\path\][filespec] d:[\path] [-u]
-or-
coppy @dirlist d:[\path] [-u]

1. If a non-existent path is supplied in the destination spec,
the program will create it on the destination drive before
copying. The ability to provide a pathspec in the
destination is useful in overcoming the 112-file limitation
that DOS imposes on 360K diskettes.

2. "dirlist" is the name of a directory list file, i.e., a
file that has been created from a redirected DIR command.
For example, the DOS command

dir *.txt >dirfile

will create a disk file named "dirfile" which contains a
directory of all files with a ".TXT" extension.

3. The destination drive may consist of a letter only, or a
letter and a colon.

4. The -u switch will copy files from the hard disk to
floppies without sorting them first. This is useful where
it would be undesirable to have like files disrupted by
sorting.

You will be prompted to change diskettes as they become full.

CTRL-C will cancel the program at any time, even in the
middle of a copy operation.

NOTES: Files that are too large to fit onto a single floppy are listed
after all other files have been copied off to diskettes
(except, of course, when the -u switch is in effect). Existing
files on the destination floppy diskette will not be
overwritten or deleted. The sizes of the files as portrayed in
the DIRLIST bear no significance to the copy function; the file
sizes are explicitly determined at copy time. A maximum of
1200 files may be copied in a single move.

The program was written in Turbo C. In version 3.0, the source
file is being distributed with the executable.

MACHINE: The program will run on any MS-DOS compatible computer using
MS-DOS 2.x or higher, with a minimum of 128K RAM.

DISCLAIMER: This program is distributed as user-supported software. Use
it, copy it, give it to your friends. No warranties, either
expressed or implied, are given by the author or distributor of
the program, and the user accepts all risk of damage arising
out of the application and use of the program.

BEG: If you find this program to be of value, contributions in any
amount ($5 suggested) will be gratefully accepted.

Send comments/bug reports/contributions to:


Thomas A. Lundin
Graphics Unlimited, Inc.
3000 Second Street North
Minneapolis, MN 55411
(612) 588-7571


You can also reach me at my BBS home base:

PC-ROCKLAND BBS
If you can't find a program here,
it probably doesn't exist!
(914) 353-2156
(Leave msg. for "Tom Lundin")

Thank you for using COPPY.



 December 12, 2017  Add comments

Leave a Reply