Monday, June 1, 2009

Folder locking in windows.

1. First create a folder that you will use to store your confidential data

2.In the same location where you created the new folder, create a new file in Notepad, copy the below content into it, replace "Fonts" in this with the name of your folder and save it as "loc.bat".

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

3.To save the file as a ".bat" file in Notepad, just put the whole thing in quotes, like “loc.bat” and then click Save

4.Now you should have a bat file named "loc" in the same directory as your FOLDER , not inside your folder.

5.Create another NotePad file and type in the following listed below and save it as “key.bat”.

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

6.Now you’ll have loc.bat and key.bat along with your folder. Go ahead and double-click on loc.bat and your folder will turn into the Control Panel and nothing inside can be viewed. Clicking on it will simply bring you to the Control Panel. You’ll notice the icon should have changed also.

7.To view the data inside your folder again, click on key.bat and your folder will return to normal.

Whenever you need to lock your folder just run "loc.bat" and for reopen run "key.bat",it’s best to move the key.bat file somewhere else, or even better, put it on a USB or CD that only you can access.

0 comments: