Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changing File Attributes
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00778570
Message ID:
00778596
Views:
21
>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?

I wouldn't store my .DBFs, etc in sourcesafe. I'd convert them to XML and save that in sourcesafe, as VSS does a much better job of dealing with text files than binary.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform