Dec 202017
This program allows you to automatically keep your floppy files updated from the hard disk, or vice versa. Great for people who sometimes work from 2 machines, and can't always remember which version is most recent.
File UPDATE10.ZIP from The Programmer’s Corner in
Category HD Utilities
This program allows you to automatically keep your floppy files updated from the hard disk, or vice versa. Great for people who sometimes work from 2 machines, and can’t always remember which version is most recent.
File Name File Size Zip Size Zip Type
TPCREAD.ME 199 165 deflated
UPDATE.DOC 6421 2712 deflated
UPDATE.EXE 34385 18613 deflated

Download File UPDATE10.ZIP Here

Contents of the UPDATE.DOC file

NOTE: This program is offered as a "FREEBIE"
NO donations are requested or accepted. I've used enough other
people's freebies that this is offered as only a partial repayment
for their time and effort. My only request is that if you have
any suggestions, bug reports, or comments (I LOVE comments!),
please drop me a line or leave a message for me on Compuserve

My ID's and address are listed at the end of this documentation

------------------ PURPOSE AND FUNCTION OF PROGRAM ----------------

This program was designed to help me keep current copies of files on both
my hard disk and on the floppies that I use in my laptop. I use the little
Tandy 1100FD machine to keep a copy of my class grades on, so that I can
allow my students to see their grades at any time, and to update them, without
having to waste a ton of paper each time the grades change. I keep the
master copy of the grades on my computer at home, but like to have a copy
on the floppy available for view. Sometimes, I update or add grades while
at school, and would like to be able to somehow automatically update the
files at home from the newly updated floppy - and vice versa.

What this program does, therefore, is to look at the filenames in one directory
and compare them with the filenames in another directory. The most recent
version of each file is copied over the older version in the other directory.
This is done both ways - for instance: if my floppy drive is drive A: and the
hard disk is drive C:, then if I update the floppy files on my laptop, these
newer files will be copied to the hard disk. If the hard disk files are
newer, then they will be copied over to the floppy instead. That way, both
disks contain the newest version of my data files. As long as the clocks in
both machines are working, then I don't have to worry about which data files
are most current, which machine I worked on last. UPDATE will automatically
take care of that.

----------------------------- ENVIRONMENT --------------------------

This program was designed to run on an IBM PC/XT/AT or compatible. It should
also run on the PS/2 without difficulty. It runs under MS-DOS or PC-DOS
version 2.0 or later. It is NOT designed to run under OS/2.

------------------------------- SYNTAX -----------------------------

The syntax of UPDATE is:


Where /H will display a help screen and quit
/M will allow you to modify the default Disk #1 and #2 paths.
FILENAME.EXT will be used instead of the default *.* in
looking for files.

ALL OF THESE PARAMETERS ARE OPTIONAL, and only one can be used at a time.

ERRORLEVEL responses:

An ERRORLEVEL of 1 indicates that you chose the HELP option by typing /H
on the command line.
An ERRORLEVEL of 2 indicates that you aborted out of the /M option by hitting
the ESC key during modification.

----------------------------- HOW UPDATE WORKS -----------------------------
------------------------ (useless technical details) ------------------------

UPDATE first checks the command line for the /H parameter. If entered, it will
display the help message and exit with an errorlevel of 1.

Then it checks for the /M option. If present, it will display the current
disk/directory locations used as Disk #1 and Disk #2. You may edit and change
these locations, and the changes will be written to disk. There is no separate
configuration file, as the changes are written to the original UPDATE.EXE file
(or whatever you might choose to rename it to....the program can always find
itself, no matter where it is run from, or what it's name has been changed to.)

Next, it checks for anything else entered on the command line, and treats it
as a filename or wildcard to be used in the search. If you only want to update
the files with a .DAT extension, then you can run UPDATE *.DAT for that. If
you leave this option blank, then a *.* wildcard is assumed, and UPDATE will
update ALL files between disk #1 and disk #2.

Finally, it searches out all the files which match the above wildcard on
disk #1, and compares the date/time stamp with the file of the same name on
disk #2. Whichever one is more recent becomes the master version, and this
file is copied over to the other disk, and the file date/time stamp is set
to match the master version.

If the two files have the same file/time stamp, then an informative message
is displayed and no copy is made in either direction.

If the file cannot be copied, or the copy is unsuccessful, then UPDATE will
inform you, skip the file, and move on to the next match.

Once all matching files on disk #1 have been processed, UPDATE will quit.

If you want, you may use several versions of UPDATE, each named something
different, and set different Disk #1 and Disk #2 locations for each with the
/M parameter. No matter what you rename it to, UPDATE can always find itself
and perform the necessary self-modification.

UPDATE was written using Borland's Turbo Pascal, Version 6.0.
It also makes use of Bob Ainsbury's excellent shareware function library,
the "TechnoJock's Turbo Toolkit." (Yes, I registered it, did you?)

The source code for UPDATE is NOT available for distribution because
1) I don't want everyone making fun of my code (OK, I'll admit it).
2) I don't want to have to comment every line of the source.
3) It uses several of my own units for string and self-modification
handling which I do not want released yet.
4) I don't want J. Random Dufus to modify (and mess up) the program.
That's why it's copyrighted.

- - - - - - - - - - -

If you have any questions, problems, or suggestions, please let me know. If I
can make the program more useful for you, also let me know.

Glenn Snow
PO Box 655
Mundelein, IL 60060
(708) 566-4079 (voice only, please)

Compuserve mailbox: 72317,2751

Prodigy mailbox: MXRH46A

Version history

1.0 -- Original UPDATE - Released to the public.
(May, 1991)

--------------------------- END OF DOCUMENTATION ------------------------

 December 20, 2017  Add comments

Leave a Reply