home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Frostbyte's 1980s DOS Shareware Collection
/
floppyshareware.zip
/
floppyshareware
/
USCX
/
DOSUT-16.ZIP
/
KNEW.DOC
< prev
next >
Wrap
Text File
|
1984-10-14
|
7KB
|
171 lines
KOPYNEW - Version 2.00
Format: KNEW
KNEW S: T:
KNEW S:FILE.NAM T:
Flags: /p - do not pause for swapping of diskettes
/l - do not list messages
/s - do not list status report at end
KOPYNEW or KNEW copies files from the source drive
to the target drive if the files have a newer time and date on
the source or if they are new files on the source drive. The files
that are copied have the same date and time as they did on the
source directory.
For example, if there is a file `FILE1.NAM' dated 10/09/84
on the source and a file `FILE1.NAM' on the target dated 10/08/84,
then `FILE1.NAM' would be copied.
If `FILE1.NAM' on the source is dated 10/09/84 with the time
09:30 am and is dated 10/09/84 on the target but with the time
stamp of 06:00 am, then it would be copied to the target.
If `FILE1.NAM' is found on the source but not on the target,
it would be copied.
NOTE: As KOPYNEW uses the time and date stamp from the directories
to check to see if the source drive has the newer file, the time
and date must be reasonably accurate. If you do not have a clock
calendar on you machine, you must set the time and date manually
or KOPYNEW will not work correctly.
DEFAULTS:
If no drive designators are given, drive C is the
source and drive A is the target. Otherwise drive S is
the source and drive T is the target. The drive designators
must be in the range A to F or a to f.
FILENAMES:
Standard DOS file names are acceptable for the source drive.
Wild card characters can be used. There is no facility to accept
file names for the target drive. Files are copied to the target
drive and are given the same name as on the source drive. If no
file name is given, all files are copied. That is, KNEW S: T: and
KNEW S:*.* T: are equivalent.
FLAGS:
Flags can be added to any of the calling formats. For
example, KNEW will copy all new or updated files from drive C to
drive A. KNEW /p will perform the same copy but it will not stop
and prompt you to insert the diskettes. KNEW /l would also perform
the same copy but the file by file listing would be omitted.
After KNEW is loaded from the disk, it pauses and prompts ypu
to put the diskettes into the drives. You then press any key to
continue. If the /p flag is added to the command line, the pause
is omitted.
KNEW lists the files as they are copied with a status message
(see below). If the /l flag is added to the status line, no
messages are listed. The pause is automatically skipped if the /l
flag is used. This flag also turns off error messages so that it
should be used with caution.
When KOPYNEW is finished, a summary of the number of files
copied, not copied and the total number of files is listed. If
the /s flag is added to the command line, no summary is listed. As
the /l and /s flags are independent, the file by file listing can
be turned off while the summary file can be left on.
STATUS MESSAGES:
S:FILE.NAM Copied - file is newer on the source drive so
KNEW copied it to the target drive.
S:FILE.NAM Not Copied - file has the same date and time or
is newer on the target drive so it is not
copied.
S:FILE.NAM Deleted - file is newer on the source drive so
KNEW tried to copy it to the target drive.
The copy failed so the file is deleted
from the target drive. The file on the
source drive is intact.
S:FILE.NAM Created and Copied - file is on the source drive
but not the target drive. The file is
copied to the target drive.
S:FILE.NAM Created and Deleted - file is on the source drive
but not the target drive. The copy
failed so the file is deleted from the
target drive. The file on the source
drive is intact.
OTHER MESSAGES:
Invalid Drive Specification - Drive x
Drive letters from A to F are acceptable
where x is the invalid drive specification.
Drive or file information not clear
The information on the command line is not clear. Probably,
the first drive designator or the colon was omitted.
Open Failed for Input File
Open Failed for Output File
The input or output file could not be opened for some reason.
Use COPY S:FILE.NAM T: to copy the file that could not be copied
by KOPYNEW. There could be a problem with the file directory.
All other messages are the same as the Error Return Table
in the DOS 2.0 manual, appendix D, page D-14. If an unknown
error code is returned to the programme by DOS, the message
`Unexpected Error' is displayed.
Suggested Uses:
KOPYNEW was originally written to be used with ram disks. I
develop software using a ram disk to hold my Macro Assembler, my
Linker, my editor and the programme source. As I write in
assembler, I tend to hang my computer frequently. Therefore I
always had to copy the programme source, the assembled
programme and any other files that I did not have a current copy
of onto a floppy just in case I hung my computer. COPY C:*.* A:
works but it is slow. KOPYNEW is much faster as it only
copies new or updated files.
I have also used KOPYNEW in an environment that included a
regular hard disk with a removable cartridge disk for backup.
As this was a large dBase II project with over 200 programmes and
database files, keeping track of which programmes and files had
been changed during the day become quite difficult. Copying only
the new or updated files using KNEW C: D: was much faster than
using COPY C:*.* D:.
I have used KOPYNEW with a Tecmar ram disk, a Tecmar 33
megabyte hard disk with a 5 megabyte removable cartridge and on a
Tallgrass 12 megabyte hard disk. I used standard DOS 2.0 function
calls throughout so that KNEW should work with any hard disk that
works with DOS 2.0 or higher. If you have any problems, please
contact me. See below.
Domain:
KOPYNEW Version 1.00 is copyrighted.
KOPYNEW Version 2.00 is copyrighted. It is, nevertheless,
public domain software. If you have any comments or suggestions,
I can be reached through the PCanada Bulletin Board (PC1049) or
through the CompuServe Network (72365,301). Alternatively, my
telephone number is 1-416-889-1409.
This disk copy was originally provided by "The Public Library",
the software library of the Houston Area League of PC Users.
Programs are available from the Public Library at $2 per disk
on user-provided disks. To get a listing of the disks in the
Public Library, send a self-addressed, stamped envelope to
Nelson Ford, P.O.Box 61565, Houston, TX 77208.