Pages

Monday, May 9, 2011

Lock and Unlock Folders Using Text files

Windows needs special software's to lock and unlock the files. But windows itself providing the feature to lock and unlock the files. Here i am going to explain about the options to lock and unlock the files using the notepad.


 First create a folder with any name (ex. bensh)

Now open a notepad and type the following inthe notepad

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

now save the file with the name lock.bat.

Now open a new notepad and type the following in the notepad.

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

now Save the file with the name key.bat.

Now Double click on the lock.bat file.

The folder will be locked.

To open the folder double click on the key.bat file.

Note that the lock.dat and the key.dat files should be in the same folder where the bensh folder was there.

This lock technique will not work in the Windows 7 OS.

No comments:

Post a Comment