Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Modifying a file timestamp
Message
De
01/02/2013 16:53:02
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01564970
Message ID:
01564972
Vues:
64
>>Anybody have a stand alone PRG to set a file's timestamp?
>>
>>Actually, I am only interested in the date portion and don't even care about the time. Also, I want to be able to specify the date (using today's date would not suffice)
>
>I think there is a function in foxtools.fll

Possibly: http://support.microsoft.com/kb/114949

If there isn't, let me know and I'll help guide you through the process using Win32 calls:
DECLARE INTEGER SetFileTime IN kernel32.dll;
    INTEGER hFile,;
    STRING @ lpCreationTime,;
    STRING @ lpLastAccessTime,;
    STRING @ lpLastWriteTime
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform