@echo off
set p=%1
if not defined p (goto kilep)
if not exist %p% (mkdir %p%)
echo %p% DACL list
echo ----------------
cacls %p%
echo ----------------
echo gyalu es uj
cacls %p% /g administrator:f
cacls %p%
echo hozzaadas
cacls %p% /e /g user_1:r user_2:c
cacls %p%
echo lecsereles
cacls %p% /e /p user_1:f
cacls %p%
echo user jogainak tiltasa
cacls %p% /e /d user_1
cacls %p%
echo user remove a dacl-bol
cacls %p% /e /r user_1
cacls %p%
echo rekurziv grant
cacls %p% /e /t /g user_3:f
cacls %p%
:kilep