Welcome to my blog.

Post on this blog are my experience which I like to share. This blog is completely about sharing my experience and solving others query. So my humble request would be share you queries to me, who knows... maybe I can come up with a solution...
It is good know :-)

Use my contact details below to get directly in touch with me.
Gmail: nadarmuthukumar1987@gmail.com
Yahoo: nadarmuthukumar@yahoo.co.in

Apart from above people can share their queries on programming related stuff also. As me myself a programmer ;-)

lock folder without any software

Open Notepad and copy the below code
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%==type your password here 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

Find "type your password here" and replace with a password for the folder, now save the notepad as "locker.bat". 

Now double click on "locker.bat", at the first time start it will create folder with name "Locker" automatically for you. 

That's it, you are done. 

Now to lock the folder double click on the "locker.bat" file, it will ask you to press "Y" or "N". "Y" is to lock. 

To unlock the folder double click on the "locker.bat" file, it will ask you the password, enter the correct password and the folder will be visible now. 

Important note: This technique is not the secure one because anybody can right click and go to the edit option and can see the password. 

So it is recommended that you keep the file somewhere secure. 
You can use ".bat" to ".exe" converter

But remember to take a backup before you convert "locker.bat" file because if you forgot the password "locker.bat" is the only file which will help you in retrieving the password.

By converting the file nobody can view your password by right click and edit. 

Reference: Muthu Nadar (http://nadarmuthukumar.blogspot.in) 

Hope you liked this post, also let me know your thoughts on the post through your valuable comment. 

Thank you.

Twitter Delicious Facebook Digg Stumbleupon Favorites More