The lock batch:
Code: Select all
cacls c:\myfolder /d Admin-PC
The Unlock batch:
Code: Select all
cacls c:\myfolder /P Admin-PC:F
i want to put that command in the patch file but it ask for yes or no
is there a way to put the answer with the command so i don't have to answer the question every time ... thanks