home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Supreme Volume 6 #1
/
swsii.zip
/
swsii
/
126
/
REDATE!.ZIP
/
REDATE!.DOC
< prev
next >
Wrap
Text File
|
1993-09-09
|
3KB
|
69 lines
REDATE!
Free DOS utility: file redater
Version 1.10a - September 09, 1993
(c) 1993
by
David Daniel Anderson
Reign Ware
REDATE! alters the date/ time stamp of files.
Usage: REDATE! file(s) [mm/dd/yy (or) mm-dd-yy] [hh:mm:ss (or) hh:mm]
REDATE! takes one, two or three parameters on the command line. If no
parameters are given, the above info is displayed.
The first parameter is the name of the file to process, which may contain DOS
wildcards (? and *) if desired. It is mandatory to have a valid file
specification.
Then, if the file date/ time is to be synchronized with the current *system*
date/ time, do not follow it with any additional parameters.
Otherwise, both an eight-digit DATE followed by an eight-digit TIME must follow
the filename as the second AND third parameters. (The separators, / and :, may
be changed but NOT omitted.)
NEW with version 1.10: if only ONE eight-digit parameter follows the file
specification, REDATE! will look at the third character of it to determine if
it is a date or time.
If the third character is a hyphen (-) or a forward slash (/), then REDATE!
will treat it as a date. Otherwise, REDATE! will treat it as a time.
If you use this option, the non-specified field will not be changed. In other
words, if you specify a new file date, the file time will remain unchanged.
NEW with version 1.10a: you do not need to use the seconds field. It will
default to :00 if it is absent. Thus, 22:30:00 can be shortened to 22:30
In case you are not familiar with the standard representation of date and time
parameters, the "mm/dd/yy" is Month, Date, Year, and hh:mm:ss is Hour, Minute,
Second. To stamp this file ten-thirty p.m., July 14, 1993, you would specify:
REDATE! redate!.doc 01/14/93 22:30:00
{------------------------------------------------------------------------------
REVISION HISTORY
v1.00 : 1993/07/14. First public release. DDA
v1.10 : 1993/09/07. Added support for single field specification,
suggested by Don Dougherty. DDA
Added support for century.
(Set century=2000 for 20th century dates.) DDA
v1.10a : 1993/09/09. Now specifying seconds is optional, default is :00 DDA
------------------------------------------------------------------------------}