Tracy,
See
How to change file attributes programmatically FAQ #15763.
>Since there is no apparent way to change a READONLY attribute associated to a file from a VFP function, I need to use the OS. I know I can do this at least three ways.
>
>RUN ATTRIB or BATCH file
>Windows Scripting
>API calls
>
>This is for my development machine, and using the RUN command causes the wonderful black boxes to bop around my screen. I am taking the ReadOnly off my data tables, DBF, CDX, and FPT files. I run this, everytime I start the test application, as SourceSafe sets the files as ReadOnly.
>
>If you were to do this, which method would you use?
--sb--