Lock a Folder Using Notepad

 Lock a Folder Using NotepadWant to know how to to lock a folder using Notepad ?

Here is the trick :

  • 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 lock.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.