The easiest is to use Process.Start to invoke the command line tool
cacls.exe.
The following adds everyone with Full access rights to the ACL of
"FolderName".
cacls FolderName /E /G everyone:F
Check MSDN for a Process.Start sample, run cacls /? to get a list of
options.
Willy.
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.