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.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement