Wednesday, 25 September 2013

Lock a folder without software

  •  Go to Run (press window-key + R).
  • Then type [CMD] to open Command Prompt.
  • You will see a Black colored screen.
  • Type this command there (cacls foldername /e /p everyone:n)
  • Example if you want to lock a folder in your D: Drive then first type [D:] in Command Prompt and then type the above command.
  • For example my folder name Techtich is located in (D:) Drive then I will type the following command in command Prompt:

  • D:
  • Cacls Techtich /e /p everyone:n
  • This will lock the specific folder and it will hide its size and every detail in it.

To Unlock the folder repeat the same steps with (everyone:f) at last, just change n to f and your folder is unlocked.
Example – Cacls Techtich /e /p everyone:f

No comments:

Post a Comment