Sign in to follow this  
Followers 0
MadBoy

Setting file/directory permissions

4 posts in this topic

#1 ·  Posted (edited)

Is there a native AutoIt way to set file/directory permisions (adding ppl and modifying ntfs rights for file/directory)? Or the only way is to use extenal .exe's ? Maybe someone written udf for this?

Edit: nm, i just used cacls which is in windows xp but still it would be nice to see such feature built into autoit as native command.

Edited by MadBoy

My little company: Evotec (PL version: Evotec)

Share this post


Link to post
Share on other sites



Is there a native AutoIt way to set file/directory permisions (adding ppl and modifying ntfs rights for file/directory)? Or the only way is to use extenal .exe's ? Maybe someone written udf for this?

Edit: nm, i just used cacls which is in windows xp but still it would be nice to see such feature built into autoit as native command.

I use SetACL.exe in my scripts for that purpose. It is much more powerful. By calling DLLs and COM interfaces, you might be able to do everything SetACLs does inside AutoIt, but for me it's not worth the massive effort. SetACL already does shares, file system, registry, printers, everything that has an ACL.

:)


Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law

Share this post


Link to post
Share on other sites

Share this post


Link to post
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
Sign in to follow this  
Followers 0