Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changing a file's timestamp
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00298172
Message ID:
00298285
Views:
12
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform