Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Making a file Read-Only
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00322772
Message ID:
00322863
Views:
18
>>Anyone knows if it is possible to set a file's Read-Only attribute in VFP6 SP3?

>In addition to what Cetin told you, the Windows Script Host File System object can do this with both files and folders

Thanks George and Randy. I'd rather directly use the API since it really isn't complicated at all. I assume that directly calling the API will be faster than creating a COM object, right?

However, you got me interested into the WSH. Does it come with Win95, 98, NT, 2000, other software? I got an NT4WS SP4 here and the CREATEOBJECT call worked, but how much can I assume on this? Also, anywhere I can find a reference (properties, methods, etc)? I looked on MS' web site not long ago for this but all I found was text saying that WSH is so great but I could not find anything useful! :(

Thanks!
Sylvain Demers
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform