Showing posts with label Lock Folder using Notepad. Show all posts
Showing posts with label Lock Folder using Notepad. Show all posts

Lock Folder using Notepad

There are plenty of software which lock your folders, some are free, other costs a lot of money. Why you’ll waste time and money when you could do it with your notepad.

* Consider you want to lock a folder named PICS in your D:\, whose path is D:\PICS

* Now open the Notepad and type the following

ren pics pics.{21EC2020-3AEA-1069-A2DD-08002B30309D}

* Where pics is your folder name. Save the text file as loc.bat in the same drive.
* 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.

Usage:

* To lock the pics folder, simply click the loc.bat and it will transform into control panel icon which is inaccessible.
* To unlock the folder click the key.bat file. Thus the folder will be unlocked and the contents are accessible.

That’s all.