Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Date of file
Message
De
30/05/2003 09:39:36
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
30/05/2003 09:32:46
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00794382
Message ID:
00794484
Vues:
9
Assuming you gave the function a name like FoxTouch (I vaguely remember there was FoxTouch doing this) :
FoxTouch("c:\tmp\myfile.txt", datetime())
It changes all 3 datetimes (create, last access, last write). Arrange code if you need to touch only one of them.
Cetin

>Hi Cetin, i hink it was just what I was looking for, but as i'm not really expert in using API function, could you tell me how can I implement the code
>you wrote in my application ?
>For example if i want to change the time to the file : "c:\tmp\myfile.txt",
>how can i call your code
>Thank you again
>Alessio
>
>>Alessio,
>>You could do that with SetFileTime API.
>>(I don't remember the original creator of this file but I believe it was George Tasker or Larry Miller) :
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform