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