home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Phoenix CD 2.0
/
Phoenix_CD.cdr
/
15a
/
murutil.zip
/
UPDATE.DOC
< prev
next >
Wrap
Text File
|
1986-06-03
|
2KB
|
58 lines
U P D A T E
Update is a utility which copies the most recent versions of files
to selected disks or directories. Update consists of the following
three files: UPDAT.COM, UPDATE.BAT and UPDKILL.BAT. These files should
be in your default directory or available in a utility directory pointed
to by a PATH. (e.g. PATH=C: ;C: UTIL)
Suppose that you want to copy the most recent versions of the BASIC
programs in your current directory to the disk in Drive A:. To do this,
simply enter "UPDATE *.BAS A:". UPDATE.BAT generates a directory file
(SRS.DIR) of the BASIC programs in your default directory and a direct-
ory file (TAR.DIR) of all of the files on the disk in Drive A:. It then
calls UPDAT to read these directory files, select which files need to be
copied and generate a batch file (UPD.BAT) to do the actual copying.
(The last command in UPD.BAT is a call to UPDKILL.BAT which deletes
UPD.BAT.) UPDATE.BAT then calls UPD.BAT to copy the files and delete
itself.
Update generates the copy commands in alphabetic order. If you
want to copy all your local files to a blank disk in drive A:, you sim-
ply enter "UPDATE *.* A:". Similarly, if you want to do an alphabetic
copy of the files from Drive A: to Drive B: (assuming no subdirector-
ies), you enter "UPDATE A: B:".
Update uses the following rules to select files to be copied: (1)
Files with no file extension are assumed to be directory files and are
NOT copied; (2) Files with an extension starting with a "~" are assumed
to be Norton Editor backup files and are NOT copied; (3) Files found in
the source directory, but not in the target directory, are copied; (4)
For files found on both the source directory the target directory, the
creation dates and times are compared and only the newer files are cop-
ied to the target directory.
Harry M. Murphy, Consultant
3912 Hilton Avenue, NE
Albuquerque, NM 87110
3 June 1986