>Is there anyway to change the attributes of a file in VFP6? Either a built in command/control, or a third party VCX would work fine... > >Thanks
How about the Windows Script Host.
oFSO = CREATEOBJECT("Scripting.FileSystemObject")
* lcfile is the file to have the attributes modified
oFile = oFSO.GetFile(lcfile)
* Flip the read-only attribute
oFile.Attributes = BITXOR(oFile.Attributes, 1)