Jump to content

Recommended Posts

Posted

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

Posted (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....

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

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
×
×
  • Create New...