
  HPFSDATE - HPFS file date/time display/modify utility  by Rob Hamerling

  Version 1.0.0 -  16 November 2003

HPFSdate is a 'dir'-like utility, but unlike 'dir' it displays all three
timestamps of files: Creation-, LastAccess and LastWrite- dates, like
availble on HPFS volumes. It works evenly well for other file systems, but
some file systems, like FAT, support only a single date/time, in which case
only the LastWrite date will give valid information. Full path, filesize and
attributes are presented of all files, including system-, hidden- and
read-only files.

Optionally the Creation date+time of files may be changed. This is
particularly meant for Bulletin Board Systems receiving files from others
whereby only the LastWrite date is retained. This option allows the Creation
date to be set equal to the 'real' date of the file. Works not for
directories, only for files (as long as the read-only attribute is not set).


Command syntax:

  HPFSDATE  <pathspec> [/d] [/p] [/r] [/s] [/$]\n\n");
 <pathspec>  Path specification, wildcards allowed. Default: '*.*'
             Date/time obtained with DosFindFirst/Next will be shown.
    /d       Show also date/time of all subdirectories (when /s specified too)
    /p       Show also date/time obtained by DosQueryPathInfo
    /r       Reset CreationDate to LastWriteDate
    /s       Search whole subdirectory tree
    /$       Debug: show some intermediate information

Invoking HPFSDATE with a parameter /? or /h will show this information.
Options may also be specified by '-' in stead of '/'.

HPFSdate uses DosFindFirst/Next OS/2 API calls to collect the directory and
file information. Optionally it may also display the results of
DosQueryPathInfo. The information should be the same (this feature was
implemented to prove a bug in NTFS.IFS 1.07). DosSetPathInfo is used to
change CreationDate.

HPFSdate was previously part of my DownSort package (file listing utility
for Bulletin Board Systems). It has been largely re-written and extended
with support for subdirectory handling, and is now available separately.

FREEWARE, source included.

Rob Hamerling.

