It's really not that hard to do the API call, even without any external plugins.
- Load 'Kernel32.dll'
- Make a 36 byte memblock
- Call 'GetFileAttributesExA' in the previously loaded dll
- First parameter is the file or directory name
- Second parameter is 0
- Third parameter is a pointer to the memblock ('get memblock ptr')
- Result is non-zero if the function succeeds
The data will be stored in the memblock in this format:
Address Type Data
0 DWord File attributes - http://msdn.microsoft.com/en-us/library/ee332330.aspx
4 Double Integer Creation Time
12 Double Integer Last Access Time
20 Double Integer Last Write Time
28 Double Integer File size
The file attributes are a bitwise combination of the flags specified here:
http://msdn.microsoft.com/en-us/library/ee332330.aspx
All times are the number of 100 nanosecond intervals since January 1, 1601 (UTC)
For directories, 'File Size' is meaningless, and all three times are the creation time of the directory.
[b]
