Information générale
Catégorie:
Fonctions Windows API
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.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement