给Demo001追加everyone权限
D:\cmd>cacls Demo001 /p everyone:f /e
处理的目录: D:\cmd\Demo001D:\cmd>
给Demo001下的所有文件追加everyone权限
D:\cmd>cacls Demo001 /p everyone:f /e /t
处理的目录: D:\cmd\Demo001
处理的目录: D:\cmd\Demo001\A
处理的文件: D:\cmd\Demo001\text1.txt
处理的文件: D:\cmd\Demo001\A\text1.txtD:\cmd>
查看文件夹权限
D:\cmd>icacls Demo001
Demo001 Everyone:(OI)(CI)(F)BUILTIN\Administrators:(I)(F)BUILTIN\Administrators:(I)(OI)(CI)(IO)(F)NT AUTHORITY\SYSTEM:(I)(F)NT AUTHORITY\SYSTEM:(I)(OI)(CI)(IO)(F)NT AUTHORITY\Authenticated Users:(I)(M)NT AUTHORITY\Authenticated Users:(I)(OI)(CI)(IO)(M)BUILTIN\Users:(I)(RX)BUILTIN\Users:(I)(OI)(CI)(IO)(GR,GE)已成功处理 1 个文件; 处理 0 个文件时失败D:\cmd>