Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Change date time stamp of file
Message
From
25/06/2008 14:13:21
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01326691
Message ID:
01326712
Views:
18
>I have a text file that is used to shut down applications and the workstations respond by renaming the file. However, I would like to touch the file as to the date and time it was renamed.
>
>How can I accomplish this?

Several other alternatives:

- instead of renaming, erase old and make new (even by copying - filetostr(), strtof(), erase)
- use foxtouch() of foxtools.fll - but beware of the bug it has, the time it sets is UTC time, so it works fine in London timezone.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform