Monday, 25 April 2016

How to lock your Private folder ?


Lock your private folder

Suppose you want to lock the folder movies which has the path "D:\movies".
In the same drive create a text file and type command
> ren movies movies.{21EC2020-3AEA-1069-A2DD-08002B30309D}

Now save this text file as loc.bat

Create another text file and type in it
> ren movies.{21EC2020-3AEA-1069-A2DD-08002B30309D} movies
Now save this text file as key.bat

Now you can see 2 batch files loc and key.
  • Press loc and the folder's content would no longer be visible.
  • Press key and you will get back your original folder.

This way you can keep any folder locked and create a key when you wish to open it or keep the key hidden.

No comments:

Post a Comment

Note: only a member of this blog may post a comment.