- Open command prompt first.
- If you want to open command prompt go to start search for "CMD"or go to press "window Key + R"
- Run type "CMD" and press Enter.
- In command prompt enter the path of the folder.(what folder you want to lock.)
- The example path is given below,please type it with changing the red word in your CMD box.
cacls “path of the folder” /P everyone:n (ex-: cacls "E:\h1" /p everyone:n)
If u want to Lock Folder in other driver.change the word with blue color in above code.
How To unlock
Retype before code is like given below.
cacls “path of the folder” /P everyone:f (ex-: cacls "E:\h1" /p everyone:f)
Click here for comments 0 comments :