Is there a way to read in the Created date of a file?
Kubie
(I'm a Newbee - so speak slow, and use pictures)
Is there a way to read in the Created date of a file?
Kubie
(I'm a Newbee - so speak slow, and use pictures)
i'm using NT4 and w2k... with Visual C++ 6.0
Using Win32 API GetFileDate().
Read this article from MSDN.
http://msdn.microsoft.com/library/de...tableFiles.asp
Kuphryn
>i'm using NT4 and w2k... with Visual C++ 6.0
This is one option:
-PreludeCode:#include <io.h> #include <ctime> #include <iostream> int main() { _finddata_t file; if ( _findfirst ( "somefile", &file ) != -1 ) std::cout<<"The file was created on "<< ctime ( &file.time_create ); return 0; }
My best code is written with the delete key.