About Us
American Interests
Arizona Regional
Biocybergenics
Convergence Zone
Free Stuff - E-groups
Home
Internet Investigations
Naradamotive
Psionic Guards
Site Search
Social Unrest
Universal Wholesale
Webmaster's Lounge
XP COMMAND DESCRIPTION
APPEND ARP ASSOC AT ATTRIB BREAK CACLS CALL CD
CHCP CHDIR CHKDSK CHKNTFS CLS CMD COLOR COMMAND COMP
COMPACT CONTROL CONVERT COPY DATE DEBUG DEL DELTREE DIR 2
DIR ... DISKCOMP DISKCOPY DOSKEY ECHO EDIT EDLIN ERASE EXIT
EXPAND FC FDISK FIND FOR FORMAT FTP GRAFTABL HELP
IPCONFIG LABEL LOADFIX MD MEM MKDIR MODE MORE MOVE
MSCDEX NBTSTAT NET NETSTAT NLSFUNC NSLOOKUP PATH PATHPING PAUSE
PING PRINT PROMPT RD REN RENAME RMDIR ROUTE SET
SETVER SHARE SHUTDOWN SORT SUBST TIME TREE TYPE UNLOCK
VER VERIFY VOL XCOPY





CACLS View and modify file ACL's. Displays or modifies access control lists (ACLs) of files

CACLS filename  [/T] [/E] [/C] [/G user:perm] [/R user [...]]
  [/P user:perm [...]] [/D user [...]]

filename Displays ACLs.
/T Changes ACLs of specified files in the current directory and all subdirectories.
/E Edit ACL instead of replacing it.
/C Continue on access denied errors.
/G user:perm  Grant specified user access rights. Perm can be: R  Read
W   Write
C   Change (write)
F   Full control
 
/R user Revoke specified user's access rights (only valid with /E).
/P user:perm Replace specified user's access rights. Perm can be: N  None

 Read
W   Write
C   Change (write)
F   Full control
 
/D user Deny specified user access.

Wildcards can be used to specify more that one file in a command. You can specify more than one user in a command.

EXAMPLES

cacls myfile.txt = displayS the ACLs for the myfile.txt file. Below is an example of what this may look like.

C:\WINNT\MYFILE.TXT   BUILTIN\Users:R
BUILTIN\Power Users:C
BUILTIN\Administrators:F
NT AUTHORITY\SYSTEM:F

cacls myfile.txt /e /g mrhope:f = Grants the user "mrhope" full rights to the myfile.txt file. If user was to look at the ACL's again using the above command they would now see that the mrhope user is added to the list.

APPEND ARP ASSOC AT ATTRIB BREAK CACLS CALL CD
CHCP CHDIR CHKDSK CHKNTFS CLS CMD COLOR COMMAND COMP
COMPACT CONTROL CONVERT COPY DATE DEBUG DEL DELTREE DIR 2
DIR ... DISKCOMP DISKCOPY DOSKEY ECHO EDIT EDLIN ERASE EXIT
EXPAND FC FDISK FIND FOR FORMAT FTP GRAFTABL HELP
IPCONFIG LABEL LOADFIX MD MEM MKDIR MODE MORE MOVE
MSCDEX NBTSTAT NET NETSTAT NLSFUNC NSLOOKUP PATH PATHPING PAUSE
PING PRINT PROMPT RD REN RENAME RMDIR ROUTE SET
SETVER SHARE SHUTDOWN SORT SUBST TIME TREE TYPE UNLOCK
VER VERIFY VOL XCOPY





Cyonic Nemeton