Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Change date time stamp of file
Message
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:
01326701
Views:
20
Then you need to just write to it. You could use fopen(), fputs() and fclose(). Just write a period to the end each time. This would update the time stamp. If you have a number of stations that could be hitting the file at the same time then you might want to use a DBF instead with a datetime field and just update it.

>No, I need to change the time stamp of the renamed file to the current time rather than the origination timestamp
>
>
>>If you need the last date/time the file was touched use adir()
>>
>>>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?
>>>
>>>Thanks in advance
Beer is proof that God loves man, and wants him to be happy. - Benjamin Franklin
John J. Henn
Previous
Reply
Map
View

Click here to load this message in the networking platform