Add User Groups and permissions with Shell in VBA

JimLecocq

Registered User.
Local time
Today, 10:09
Joined
Jul 23, 2007
Messages
38
I have done a lot of searching with pratically no results. I am looking for a way to add Groups and user permissions to a folder using Wsh.Shell. I can do it to a file but the same options do not seem to work. I am using Access with Excel references.

Does any one have any ideas about how to do this? :rolleyes:
 
What VBA code are you using so far that works for a file?
 
Set WSH = New WshShell

WSH.Run "%COMSPEC% /c cacls """ & Rep & """ /t /e /g " & Login & ":C", 2, True

Set WSH = Nothing
 

Users who are viewing this thread

Back
Top Bottom