Folder lock without Folder Lock

Hope you are not confused? This may sound a little strange for those who have not used “Folder Lock” before. Just for the sake of the records, “Folder Lock” is a software that you use to hide (or lock as it is called) your personal folders such that only you can open it when you want to open it. The software has a free trial version for you to enjoy the features. Folder Lock can be gotten here.

Now coming back home, when I say “Folder lock without Folder Lock”, I am simply talking about locking your folder – without using Folder Lock. The method I am going to give now has been tested and had a couple of successes (maybe a quadruple of them!), although there were some complaints. It is also not as efficient as folder lock so if you’ve got the money for folder lock, don’t hesitate to get it. As for the others (no offence…^_^), here is the method (the most detailed way I can put it).


The method uses a simple batch file to carry out the task. So we start by opening the notepad (or any other text editor you use). For those who do not know how to open the notepad, you can simply click the Start menu, then Run…, then type “notepad”. The content of the notepad should be as follows:

title Folder Locker
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
echo Are you sure u want to Lock the folder(Y/N)
set/p "cho:"
if %cho%==Y goto LOCK
if %cho%==y goto LOCK
if %cho%==n goto END
if %cho%==N goto END
echo Invalid choice.
ren Locker "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
echo Folder locked
goto End
echo Enter password to Unlock folder
set/p "pass:"
if NOT %pass%== thisIsMyPassword goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Locker
echo Folder Unlocked successfully
goto End
echo Invalid password
goto end
md Locker
echo Locker created successfully
goto End

Note: remove…


…and replace with the password you want to use.

After typing this code (or copying it, but don’t forget the note above), save the file with the .bat extension as “locker.bat”. To save with the .bat extension from notepad, click File on the menubar, then Save As…, then in the “File type” dropdown menu, select “All files”, then in the “File name” textbox, enter “locker.bat”. That’s it!

For those who are too lazy to type or copy the code, or for those who made one or two errors when copying the code and therefore making the code not to work, here is a link to the document.

To get started, simply double-click “locker.bat” and a folder named “Locker” should appear. Save all the files you want to save into it. When you are done, double-click “locker.bat” again. It will ask you if you want to hide the folder. Enter “y” and hit the Enter key. To unhide it again, simply double-click “protect.bat” and enter your password.

That is all about locking your folder. Although I must warn you that this method is not very efficient, especially in the new versions of Windows. Use it wisely.


2 thoughts on “Folder lock without Folder Lock

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s