home *** CD-ROM | disk | FTP | other *** search
/ ProfitPress Mega CDROM2 …eeware (MSDOS)(1992)(Eng) / ProfitPress-MegaCDROM2.B6I / UTILITY / DIR / FDATE2.ZIP / FDATE.DOC < prev    next >
Encoding:
Text File  |  1985-09-17  |  1.1 KB  |  33 lines

  1.             DOS 2.0 FDATE utility
  2.  
  3. The FDATE utility for DOS 2.0 allows setting the date and timestamps for
  4. a disk file.
  5.  
  6. The syntax of the command is:
  7.  
  8.    FDATE  <filename> <date> <time>
  9.  
  10. Where date and time are optional and can appear in any order.
  11.  
  12. Date can be mm/dd/yy or mm-dd-yy.
  13.  
  14. Time is  hh:mm:ss
  15.  
  16. If either the date or time or both are specified, the respective
  17. date and time information in the directory entry for the file is set
  18. appropriately. If only one is specified, the other is left with its
  19. original value. If neither the date or time is specified on the command
  20. line, then the file's date and time stamps are set from the current
  21. date and time in the DOS clock.
  22.  
  23. The filename can include normal DOS 2.0 drive and path specifications.
  24.  
  25. Warning: Although most cases of illegal date and time formats will be
  26. detected, it was not deemed worth the effort or memory to try and
  27. detect all possible pathological cases, so trying to fool it will
  28. not lead to happy directory entries.
  29.  
  30. Note: The time recorded by DOS in the directory entry is kept in
  31. TWO second intervals, so the second specified is truncated to an even
  32. value.
  33.