Friday, 3 May 2013

How to Lock Folder Using Command Prompt


1.Goto START.

2.Type CMD in run & then hit enter.

3.The command prompt will be appear on desktop screen.

4.Now type cacls "folder path" /e /p everyone:n & then hit enter.

   Eg: cacls E:\testFolder /e /p everyone:n

7.Now check your folder by double clicking on it.Your folder has been locked.


   Note : Replace 'n' with 'f' in above command to unlock this folder.

   Eg: cacls E:\testFolder /e /p everyone:f




1 comment: