>Hi,
>
>Does anyone know how I can change the file attribute from my VFP program?
>I can use ADIR() to determine the file attribute (e.g. AR - Archive, Read ) , but I need to remove 'R' and leave only 'A'.
>
>Thank you....
Hi Elena,
In the Files section under Win32 and Other APIs look at file#
9311 (Get/Set File Attributes).
However, I'd agree with Ed here that the best way to do this would be by using the Windows Script Host.
George
Ubi caritas et amor, deus ibi est