how loc.bat and key.bat files works and what

June 18, 2011 at 18:58:11
Specs: Windows XP
I have used the following suggestion (loc.bat & key.bat) found in a website
to lock and unlock a folder in my PC operating on Windos XP. The method
worked perfectly well for a couple of months. But all of a sudden the method
stopped working leaving my foler in a locked condition. I am now not able to
open the folder. I have re-created both loc.bat and key.bat files using the
same mthod earlier followed. Could you help me by providing your valuavle
suggestion to unlock the folder so that I am ablw to retrieve its contents.

Thank you
Pradeep P Subramanian

Here are the steps to create the protected folder in Windows XP:

First create a folder that you will use to store your data. For example, I
have created a folder called Fonts at the root of my D drive. Since the
hidden folder will bring you to the Control Panel, it’s best to name the
folder as one of the programs inside there.

In the same location where you created the new folder, create a new file in
Notepad, copy the following below into it, replace Fonts with the name of
your folder and save it as loc.bat.
ren Fonts Fonts.{21EC2020-3AEA-1069-A2DD-08002B30309D}

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

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

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

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.

To view the data inside your folder again, click on key.bat and your folder
will return to normal! Pretty simple!
Of course, keeping the key.bat file in the same folder will defeat the
purpose of securing the folder, so it’s best to move the key.bat file
somewhere else, or even better, put it on a USB stick or CD that only you can

Most people will be probably look at the folder and simply ignore it since it
has the control panel icon and it links directly there. Of course, if someone
knows this trick also, they can create their own key.bat file, etc and open
it back up. However, if you’re dealing with someone who can do all of that,
it’s best you check out more advanced 3rd party software to lock down a

edited by moderator: remove public e-mail address

See More: how loc.bat and key.bat files works and what

Report •

June 18, 2011 at 22:39:16
1.) Contact the programme creator for help... you have obviously changed something in the setup.

2.) Private correspondence (emails) are not entered into and you are advised to use the Edit function above your post to remove your email address unless you don't mind a great deal of spam.

A sample of loc.bat and key.bat might be of some use to someone who is familiar with this programme.

Report •

June 19, 2011 at 10:11:45
Wow, what a long way to go for nothing.

1/3 of highway deaths are caused by drunks. The rest are by people who can't drive any better than a drunk.

Report •

June 21, 2011 at 18:00:16
Dear Ewen,
Thank you for your response.

Report •

Related Solutions

June 21, 2011 at 18:01:05
Thank you for your rersponse

Report •

Ask Question