Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What is actual file create date?
Message
From
13/01/2003 09:33:10
 
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00740413
Message ID:
00740965
Views:
22
As suggested by George, you can change the date using an API or alternatively stuff the creation date somewhere into the file.

Best of Luck

Mace

>Nothing wrong, but in case somebody modified the file after it was created, there is no indication when file was actually created.
>Yes, I know I can change the date intentionally, but I thought that it could be done natively by the system.
>
>>So what is wrong with the DateLastModified file property rather than the DateCreated property?
>>
>>>I am not trying to compare files. In our system there is a process that creats the text file 'dataout.dat' every day. The previous file with the very same name is replaced.
>>>
>>>
>>>>What type of file are you trying to compare? That is, what is the extension?
>>>>
>>>>Macer
>>>>
>>>>>Thank you, George,
>>>>>
>>>>>No, erase the file and then copy does not work either. By the way, COPY leads to another confusion: file create date may be correct, but file modify date will remain as in the file from where it was copied.
>>>>>
>>>>>
>>>>>>>Thank you, George,
>>>>>>>
>>>>>>>Yes, it is more convenient than GetFileTime, but they are still the very same dates. Any other ideas?
>>>>>>
>>>>>>Not really. The way it works is that if you copy over a file with another of the same name (and new creation date), the file still retains the creation date of the original. I'm only saying that this is the way it works, not that I agree with the way it works. I don't.
>>>>>>
>>>>>>About the only work-around would be to delete the original first, then do the copy.
Previous
Reply
Map
View

Click here to load this message in the networking platform