Announcement

Collapse
No announcement yet.

Dir$ LastWriteTime

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Dir$ LastWriteTime

    Should Dir$ read the type info for a folder?

    CreationTime AS QUAD
    LastAccessTime AS QUAD
    LastWriteTime AS QUAD

    I seem to get the same information back for each folder I query.

    It works fine for files ....
    Warped by the rain, Driven by the snow...

    jimatluv2rescue.com

  • #2
    Consensus opinion is that the "DIRDATA" structure provided in Win/9 DIR$ is actually a Windows WIN32_FIND_DATA structure. (It's not documented).

    Given that, the SDK documentation for the ftLastWriteTime applies:

    ftLastWriteTime
    A FILETIME structure. For a file, the structure specifies when the file was last written to. For a directory, the structure specifies when the directory was created. If the underlying file system does not support last write time, ftLastWriteTime is zero.
    Michael Mattias
    Tal Systems Inc. (retired)
    Racine WI USA
    [email protected]
    http://www.talsystems.com

    Comment

    Working...
    X