Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Changing a file's timestamp
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00298172
Message ID:
00298285
Vues:
11
>Greetings all,
>
>How can I change a file's timestamp programatically? I couldn't find a VFP function for this explicitly; is there a Win32 API call to do this? If so, how do I declare and implement it (or point me to some documentation and I'll figure it out myself. ;))
>

Erik Moore posted code that uses the Win32 API to do this some time in the past couple of weeks; you can also open the file, read and rewrite the first byte using low-level file I/O to reset the timestamp.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform