Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Setting Folder Date
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00781126
Message ID:
00781352
Vues:
21
Try this code:
How to set Creation Date/Time for a folder (WinNT)
http://www.news2news.com/vfp/?example=399

Change line
nResult = SetFileTime(hFolder, cFileTime, 0,0) && creation time
either to
nResult = SetFileTime(hFolder, 0, cFileTime, 0) && last access
or to
nResult = SetFileTime(hFolder, 0,0, cFileTime) && last write
Original link at VBNet portal:
Modifying the Date/Time of Folders and Files Under Windows NT+
http://www.mvps.org/vbnet/index.html?code/fileapi/folderdatetime.htm
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform