want a bat script to display folder n subfolder permissions ONLY not files permissions and output to a text file.
If permissions means attribs: :: ===== script starts here ===============
::
:: ash.bat Sun 10-06-2012 15:43:45.71
@echo off & setLocal enableDELAYedeXpansioNfor /f "tokens=* delims= " %%a in ('dir/b/s/ad') do (
attrib /d /s %%a
)goto :eof
::====== script ends here =================
=====================================
Life is too important to be taken seriously.M2
Untested for /f "tokens=*" %%i in ( 'dir /s /b /ad' ) do >>acls.txt icacls "%%i"Tony
Yes (14) | ![]() | |
No (14) | ![]() | |
I don't know (15) | ![]() |