Jump to content

Setting Permissions On Folders


Phases
 Share

Recommended Posts

I have written a program that creates a few files in the All Users\Desktop folder.

However, I need to ensure that they are set to inherit permissions, otherwise, my users without admin rights would not be able to open them.

Is there a command within AutoIT to control the permissions, or do I need to use a seperate command line tool to do this?

Link to comment
Share on other sites

Is there a command within AutoIT to control the permissions, or do I need to use a seperate command line tool to do this?

there is no built-in command. You can use ADSI instead.

http://www.autoitscript.com/forum/index.ph...st&p=236477

Take a closer look at the attached file dacl.html.

Cheers

Kurt

__________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf *

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...