批处理:批量修改文件和文件夹权限

@echo Begin to modify permission...Press any key to continue! @pause @dir /ad /s /b > TMP.TXT @FOR /F "eol=; tokens=* delims=, " %%i in (TMP.TXT) do cacls "%%i" /t /e /c /g Administrators:F @echo Change have been applied to all file... @echo Press any key to exit @pause

你可能感兴趣的:(批处理:批量修改文件和文件夹权限)