Trick to lock your private folder

By Koushik Saha on 1.12.07

Filed Under: , ,

Suppose you want to lock the folder games in D: which has the path D:\Games.

Open notepad and create 2 files ( see the code below ) in the same folder / drive in which the folder to be locked is present . In the code below we are taking games folder to be locked . Replace the games ( in the code below ) by the name of folder you want to lock .

To create these files in notepad copy / paste the code in notepad and save it as .bat .

Loc.bat :

ren games games.{21EC2020-3AEA-1069-A2DD-08002B30309D}
attrib games.{21EC2020-3AEA-1069-A2DD-08002B30309D} +R +S +H

Key.bat :

attrib games.{21EC2020-3AEA-1069-A2DD-08002B30309D} -R -S -H
ren games.{21EC2020-3AEA-1069-A2DD-08002B30309D} games

And you are done . Clicking on loc.bat will lock your folder and clicking on Key.bat will unlock it .

The locking technique does not use encryption but still it's quite useful to hide your folders . Enjoy your privacy.


Source: http://www.techx.co.nr/

0 comments for this post