>Hi,
>
>easy one to answer: how can I set the read only property of a file (a .INI file) using Windows API? Or is there a VFP command or foundation class that does this?
>
>TIA
>
Alonso,
There also the Windows Script Host's Scripting.FileSystem object. You'd do
oFSO = CREATEOBJECT('Scripting.FileSystemObject')
oFile = oFSO.GetFile(lcfile)
oFile.Attributes = BITOR(oFile.Attributes, 1)
George
Ubi caritas et amor, deus ibi est