The last write time retrieved in this code is the UTC value, so it can be different from the local time on your computer. Use the GetTimeZoneInformation to get the constant difference in minutes between both times.
The most but not all the data returned in WIN32_FIND_DATA structures can also be retrieved by calling ADIR() function.
* * *
Also IShellFolder::EnumObjects can be used to enumerate file system folders, as well as other types of folders and objects in the system -- for example, special folders, printers, subfolders inside a compressed (zipped) folder.
I tried this code and it does not generate folders that have periods in them
bobstranks@telus.net
thx
A.M. | 2005-07-24 06:43:41
Hi Bob,
I fixed the code, it's working now as suggested.
tsoda | 2007-02-07 12:21:21
Is there an example for finding the location of a specific filename from within a container of many folders?
A.M. | 2007-02-07 13:11:54
There's no such example, unfortunately, in this reference. As far as I know, NTFS and FAT systems do not support a single location or object that stores names of all files and folders.
Credits: PHP (4.4.9), an HTML-embedded scripting language,
MySQL (5.1.55-log), the Open Source standard SQL database,
AceHTML Freeware
Version 4, freeware HTML Editor of choice. Hosted by Korax Online Inc.