Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Programatically altering file properties
Message
From
03/12/2001 07:14:09
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
03/12/2001 07:12:38
Philip Jones
Cornwall County Council
Truro, United Kingdom
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00588637
Message ID:
00588638
Views:
19
This message has been marked as a message which has helped to the initial question of the thread.
>I'd like to be able to alter the properties of a free table I'm creating programatically. I want to hide it and make it read only. I also want to be able to change the read only attribute when I want to append records to it and them change it back again after appending. Can anyone suggest a way of simple doing this please.

For a quick and dirty solution, use:
run attrib +r MyFile.DBF
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform