bourny Posted March 17, 2005 Share Posted March 17, 2005 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 Link to comment Share on other sites More sharing options...
Blue_Drache Posted March 17, 2005 Share Posted March 17, 2005 (edited) 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.... ThanksBourny<{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 March 17, 2005 by Blue_Drache Lofting the cyberwinds on teknoleather wings, I am...The Blue Drache Link to comment Share on other sites More sharing options...
bourny Posted March 17, 2005 Author Share Posted March 17, 2005 Thanks... I have used this instead - do you know the reason why they have not included directory permissions.. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now