Search This Blog

Wednesday, September 30, 2015

Lock Folders using Notepad


Lock Folders using Notepad

This trick may not work on all computers
Lets say you want to lock a folder named PICS in your D:\ drive , whose path is D:\PICS
Then the code should be something like this:
ren pics pics.{21EC2020-3AEA-1069-A2DD-08002B30309D}
Pics is your folder name. Use the name of the folder in place for pics. Save the text file as lock.bat in the same drive.
To unlock this locked folder:
Open another new notepad text file and type the following:
ren pics.{21EC2020-3AEA-1069-A2DD-08002B30309D} pics

Save the text file as key.bat in the same drive. Here again, pics is the name of the folder. Change it to the folder you want to lock.

No comments:

Post a Comment