N NETCRAMMER Mar 30, 2004 #1 what utility can I use to numerate the number of files/folders along with the permissions. thx. in adv. NET
what utility can I use to numerate the number of files/folders along with the permissions. thx. in adv. NET
D Dean Wells [MVP] Mar 30, 2004 #2 NETCRAMMER said: what utility can I use to numerate the number of files/folders along with the permissions. thx. in adv. NET Click to expand... cacls "C:\My Documents" /t In order to count the number of entries, use something similar to the solution provided in an earlier post - [From the command prompt] for /f %c in ('dir "C:\My Documents" /s/a-d/b ^| find /c /v "UnLiKeLy To ExIsT"') do set TOTFILES=%c [Within a script] for /f %%c in ('dir "C:\My Documents" /s/a-d/b ^| find /c /v "UnLiKeLy To ExIsT"') do set TOTFILES=%%c HTH Dean
NETCRAMMER said: what utility can I use to numerate the number of files/folders along with the permissions. thx. in adv. NET Click to expand... cacls "C:\My Documents" /t In order to count the number of entries, use something similar to the solution provided in an earlier post - [From the command prompt] for /f %c in ('dir "C:\My Documents" /s/a-d/b ^| find /c /v "UnLiKeLy To ExIsT"') do set TOTFILES=%c [Within a script] for /f %%c in ('dir "C:\My Documents" /s/a-d/b ^| find /c /v "UnLiKeLy To ExIsT"') do set TOTFILES=%%c HTH Dean
T Thanatos Mar 31, 2004 #3 DumpSec (formerly called DumpACL) from http://www.systemtools.com/somarsoft It's freeware.