Question : excel-vba code to change folder properties

I need vba code to be able to change the properties of a folder.

right now i have the following code that creates a folder on the users personal J drive:
   
dpath = "J:\Boarding Sheets\"
       On Error Resume Next
       ChDir dpath
       If Err Then
           MkDir dpath
           ChDir dpath
           Err.Clear
        End If

I want to be able to change the settings of that folder (Boarding Sheets)
specifically in: Properties -> Security -> for  "Domain Users [FIL\Domain Users]"

                              Allow    Deny
Full Control                          x
Modify                                  x
Read & Execute        x
List Folder Contents x
Read                         x
Write                         x

is this possible?

Answer : excel-vba code to change folder properties

yes i've seen that in a post in the VB forum yesterday

and i've got an answer to this Q only not able to post and not had the time yet to write around it, i especially asked it myself in VB cause i may need it in the near future

http://www.experts-exchange.com/Programming/Programming_Languages/Visual_Basic/Q_20633535.html

it's using cacls.exe a commandline utility to do the same :)
Random Solutions  
 
programming4us programming4us