Jump to content
Sign in to follow this  
bourny

attib

Recommended Posts

bourny

Can anyone tell me if there is a way to set directory permissions with autoit. I have read the help file and it does state you can not do compressed or directory attrib resets...

I am just looking to confirm I have read this correctly....

Thanks

Bourny

Share this post


Link to post
Share on other sites
Blue_Drache

Can anyone tell me if there is a way to set directory permissions with autoit.  I have read the help file and it does state you can not do compressed or directory attrib resets...

I am just looking to confirm I have read this correctly....

Thanks

Bourny

<{POST_SNAPBACK}>

You are correct, AutoIt's native functions can only set attributes on FILES, not FOLDERS.

However, you could make one that will work with a folder....

I think RunWait(@ComSpec & " /c " & "commandName","",@SW_HIDE) will help you the most here.....

The other option is to tinker with the ACL

Edited by Blue_Drache

Lofting the cyberwinds on teknoleather wings, I am...The Blue Drache

Share this post


Link to post
Share on other sites
bourny

Thanks...

I have used this instead - do you know the reason why they have not included directory permissions..

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  

×