Dec 232017
 
Another revision of supdate. Now allows use of . for destination directory if the currect directory is the destination.
File SUPDATE3.ZIP from The Programmer’s Corner in
Category Recently Uploaded Files
Another revision of supdate. Now allows use of . for destination directory if the currect directory is the destination.
File Name File Size Zip Size Zip Type
SUPDATE.C 13480 4032 deflated
SUPDATE.DOC 2214 895 deflated
SUPDATE.EXE 11961 11409 deflated
SUPDATE.MAK 230 159 deflated
TPCREAD.ME 199 165 deflated

Download File SUPDATE3.ZIP Here

Contents of the SUPDATE.DOC file


SUPDATE -- SHARE compatible update utility.
Copyright 1989 by Ken Brown.

SUPDATE copies files from the current directory to the destination
directory if:

1) the file exists in both the current directory and the
destination directory

and

2) the file in the current directory is newer than the copy
in the destination directory.

What makes SUPDATE different from other utilities of this kind is
that:

1) it opens the files in SHARE compatible mode so it works
under multitaskers and on networked machines

and

2) if a file (in either the source or the destination directory)
is locked by another process, SUPDATE will try 5 times to lock
the file and complete the update.

Syntax:

SUPDATE [source] destination


The source is optional, without it SUPDATE scans all files
in the current directory. The source may contain a mask.

The destination can be a directory, a drive spec, or both.

If there are no files to update, SUPDATE sets ERRORLEVEL to 0.
If SUPDATE successfully updates all of the files in the destination
directory that need to be updated SUPDATE sets ERRORLEVEL to 1
and exits. If one or more files could not be updated (because they
remain locked by another process) SUPDATE sets ERRORLEVEL to 2
on exit.

The value of ERRORLEVEL can be checked in a batch file and used
to control what happens if SUPDATE is unable to successfully update
all of the files.

This program is "POSTware". If you find the program useful (and
particularly if you find the source code useful), please send a
post card to:

Ken Brown
5707 Jamestown Rd Apt 2
Hyattsville, MD 20782

No registration is required but I am not crazy enough to refuse
donations.

Modified 3/28/94 by Jason Olasky to add option for source directory other
than current directory, which is still the default.

Modified 1/18/95 by Jason Olasky to add option to use . (current directory)
for destination directory if a source directory is specified.


 December 23, 2017  Add comments

Leave a Reply