且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

根据文件夹名称输入设置权限

更新时间:2022-11-28 11:38:47

这个控制台命令可以解决问题:

This console command will do the trick:

for / d%a in(*。*)do @icacls"%a"   / T  / grant"%a":F 系统:F 管理员:F

***先在单个文件夹上测试命令:

Best to first test the command on a single folder:

icacls" jsmith"   / T  / grant" jsmith&quot ;:F 系统:F 管理员:F