I've just learned that on Windows NTFS, max time resolution is 100 ns. On FAT is is/was 2 s (https://superuser.com/questions/937380/get-creation-time-of-file-in-milliseconds)

Currently I've a script that queries $file(%file).mtime, but it returns a $ctime value (in seconds) where I would really like it to be more precise.

I could query via COM via WMI CIM_DataFile for the LastModified attribute, but this is too cumbersome. (and I would need some help with this)

Could new props be added to $file for .ctime .mtime and .atime that returns more precise times?


GNU Terry Pratchett