home *** CD-ROM | disk | FTP | other *** search
- DOS 2.0 FDATE utility
-
- The FDATE utility for DOS 2.0 allows setting the date and timestamps for
- a disk file.
-
- The syntax of the command is:
-
- FDATE <filename> <date> <time>
-
- Where date and time are optional and can appear in any order.
-
- Date can be mm/dd/yy or mm-dd-yy.
-
- Time is hh:mm:ss
-
- If either the date or time or both are specified, the respective
- date and time information in the directory entry for the file is set
- appropriately. If only one is specified, the other is left with its
- original value. If neither the date or time is specified on the command
- line, then the file's date and time stamps are set from the current
- date and time in the DOS clock.
-
- The filename can include normal DOS 2.0 drive and path specifications.
-
- Warning: Although most cases of illegal date and time formats will be
- detected, it was not deemed worth the effort or memory to try and
- detect all possible pathological cases, so trying to fool it will
- not lead to happy directory entries.
-
- Note: The time recorded by DOS in the directory entry is kept in
- TWO second intervals, so the second specified is truncated to an even
- value.