Dec 142017
 
Copy files to floppies by best fit.
File COPPY36.ZIP from The Programmer’s Corner in
Category Utilities for DOS and Windows Machines
Copy files to floppies by best fit.
File Name File Size Zip Size Zip Type
COPPY.C 14817 3884 deflated
COPPY.DOC 6665 2326 deflated
COPPY.EXE 14348 8687 deflated
COPPY.PRJ 13 13 stored
SORT.C 4339 1413 deflated

Download File COPPY36.ZIP Here

Contents of the COPPY.DOC file


TITLE: COPPY ver 3.6
PURPOSE: Copy files by best fit from HD to floppies, with options
DATE: 12-19-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 target
diskettes in any density. Required file space is computed
in increments of the cluster size for accuracy.

Version 3.6 calculates required space using cluster size and
allows pre-deletion of the target diskette. Also, an
overwrite and move option was implemented.

OPERATION: The command line invocation is:

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

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 option 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.

5. The -w option will hold over source files which have
the same names as files on the target diskette, and
copy them to another diskette. Normally, files which
already exist on the target disk are not copied at all.
This option forces those files to be copied to a
diskette where they don't already exist.

6. The -d option will delete the contents of the target
subdirectory before copying to it, for each diskette
required to fulfill the copy. If no subdirectory is
specified on the command line, the root directory will
be deleted. Other subdirectories on the target diskette
will not be deleted.

7. The -m option will delete the source files after
copying to the target directory. This is the same as a
"move" (delete-after-copy) function. This option is
useful for copying files from one drive to another, and
then automatically erasing them from the source drive.

8. The -o option will cause files in the target directory
with same names as the source files to be overwritten
unconditionally. This option overrides the -w
(carryover) option.

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 option is in
effect). Existing files on the destination floppy diskette
will not be overwritten or deleted unless the -w option is
used. 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. Source code is supplied
in the ARC.

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 ($10 suggested) will be gratefully accepted. If you
choose not to contribute, at least upload this program in
its ARCed version to as many BBSes as you can log onto.

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-2538
(Leave msg. for "Tom Lundin")

Thank you for using COPPY.



 December 14, 2017  Add comments

Leave a Reply