Erik,
One thing that hasn't been mentioned is that VFP 5/6 FoxTouch() function works just slightly different than the FPW version. The date and time you provide is "adjusted" by your timezone offset before it's applied to the file. So you either have to know what this TZ bias is, OR read it from the registry. Of course it's stored in a binary value so you can't use the standard REGISTRY.PRG.
Rick
>>>I thought I remembered a Foxtools function that would let me modify a file's timstamp. "Touch()" or something. But I can't find it now. Anyone care to refresh me?
>>
>>I'm not a FoxTools kinda guy, but you could FOPEN the file, FREAD the first byte and FWRITE it back to change the date/time stamp.
>
>Yeah, I do that when all I need to do is change it to the current date/time, but in this case, I need to rewind.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only