Advertisement
Advertisement
| 05.21.2008 at 12:23PM PDT, ID: 23422159 |
|
[x]
Attachment Details
|
||
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: |
using namespace System;
DateTime dt;
fstream file;
file.open(str_RPUFile.c_str(), ios::trunc);
// Enumerate all the files/subdirectories
while (true) {
dt.FromFileTime(FindFileData.ftLastWriteTime);
if ((FindFileData.cFileName != wstring(L".")) && (FindFileData.cFileName != wstring(L".."))) {
file << FindFileData.cFileName << L":" << dt.ToLongDateString << L":" << endl;
}
}
|