Gerard,
Check
How to change file attributes programmatically FAQ #15763
>I use Fcreate, Fputs and Fclose to create a Txt file.
>At the end of my creation, I want to have the file read only.
>I know Fcreate can do this, but then I cant write to the file.
>Is there another way of doing this inside VFP?
>Regards,
>
--sb--