Cacls command parameters:
Cacls.exe c:/e/t/g everyone: F # Set drive c to everyone for browsing
Cacls.exe d:/e/t/g everyone: F # Set drive d to everyone for browsing
Cacls.exe e:/e/t/g everyone: F # Set the edisk to everyone for browsing
Cacls.exe f:/e/t/g everyone: F # Set drive f to everyone for browsing
CACLS filename [/T] [/E] [/C] [/G user: perm] [/R user [...]
[/P user: perm [...] [/D user [...]
Filename displays the ACL.
/T change the current directory and all its subdirectories
The ACL of the specified file.
/E. Edit the ACL without replacing it.
/C continues when an access denial error occurs.
/G user: perm grants the specified user access permission.
Perm can be: R read
W write
C Change (write)
F full control
/R user revokes the access permission of the specified user (only valid when used with/E ).
/P user: perm replaces the access permission of the specified user.
Perm can be: N none
R read
W write
C Change (write)
F full control
/D the user rejects access from the specified user.
You can use wildcards to specify multiple files in the command.