Hi 5eraph, see the "Grant Admin Full Control" for real I even really understand what's going on

, but from my tests which is 3-4 times faster than the subinacl.exe & SetAcl.exe, of course we tried the shortest route to do the thing during the use of the Windows API in AutoIt, but anyway this difference is very much hmmmmmmmm (I did just so, how to say for my own pleasure, because I want to familiarize myself with the DllCall in autoit, to learn\use after Windows API ect ect, so really did not expect these differences)
in a simple test fate by me mounting the Windows 8 x64 "D:\MountDir_TMP" specified folder "D:\MountDir_TMP\Windows", which is about 80 000 files\diretory, both subinacl.exe both SetAcl.exe them served about 15-16 minutes to get the permissions of all files\diretory, instead DXTool serve them about 4 minutes
Code: Select all
CD /D "%~dp0"
ECHO. | TIME | FIND /i "current">> test.txt
subinacl.exe /subdirectories D:\MountDir_TMP\Windows\* /setowner=administrator /grant=administrators=f
ECHO. | TIME | FIND /i "current">> test.txt
Code: Select all
CD /D "%~dp0"
ECHO. | TIME | FIND /i "current">> D:\test.txt
SetACL.exe -on "D:\MountDir_TMP\Windows" -ot file -rec cont_obj -actn setowner -ownr "n:Administrators" -actn ace -ace "n:Administrators;p:full"
ECHO. | TIME | FIND /i "current">> D:\test.txt
but the exe is 5 MB ehh, I'm not finding a mod compress the AVI (of Windows 7), but AVI is really nice, for this or decided so, best 5 Mb with the AVI, that 500 Kb without the AVI
Ciao.