Saturday, March 31, 2012

Lock a folder with notepad


Lock Any Folder

 

Steps...-


1) Consider you want to lock a folder named caclub in your f:\, whose path is f:\caclub

2) Now open the Notepad and type the following

ren caclub caclub.{21EC2020-3AEA-1069-A2DD-08002B30 309D}

3) Where caclub is your folder name. Save the text file as loc.bat in the same drive.


4) Open another new notepad text file and type the following

ren caclub. {21EC2020-3AEA-1069-A2DD-08002B30 309D} caclub

5) Save the text file as unloc.bat in the same drive.
---------
Usage:
---------
6) To lock the caclub folder, simply click the loc.bat and it will transform into control panel icon which is inaccessible.

7) To unlock the folder click the unloc.bat file. Thus the folder will be unlocked and the contents are accessible.

1 comment: