Hi Elena,
You can use the DOS program ATTRIB
RUN ATTRIB [filename] [option]
/? - As option, shows all the possible options
>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....
Benn Kjaer
MS Certified Professional - Visual Foxpro
"There is something rotten in the state of Denmark"
"Why make user-friendly programs, when there aren’t any friendly users :o)"