Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to tag a filename as readonly programatically
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00760275
Message ID:
00760278
Views:
14
Hi!

One way (perhaps not the best) would be to use Scripting Host.
local oWsh as Wscript.Shell
oWsh=createobject("Wscript.Shell")
oWsh.run("attrib +r file.name")
rele oWsh
HTH
robert.oh.
Previous
Reply
Map
View

Click here to load this message in the networking platform