Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Modifying a file timestamp
Message
From
01/02/2013 16:53:02
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01564970
Message ID:
01564972
Views:
66
>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform