Search

Tuesday, March 25, 2008

Lock folder with password no softwares required

Yes it is true now you can lock your folders and important files without any software with locker.bat i was searching on locking folders luckily i got the procedure on the net now you can lock your personal folder with few easy steps see below

Open Notepad and copy the below code and save as locker.bat and during saving the file save as type all files Don't forget to change your password in the code it's shown the place where to type your password.

Now double click on locker.bat
First time start it will create folder with Locker automatically for u. After creation of the Locker folder, place the contents you want to lock inside the Locker Folder and run locker.bat again.

##################Code#######################

cls

@ECHO OFF

title Folder Locker

if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK

if NOT EXIST Locker goto MDLOCKER

:CONFIRM

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.

goto CONFIRM

:LOCK

ren Locker "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"

attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"

echo Folder locked

goto End

:UNLOCK

echo Enter password to Unlock folder

set/p "pass=>"

if NOT %pass%==Yourpassword 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

:FAIL

echo Invalid password

goto end

:MDLOCKER

md Locker

echo Locker created successfully

goto End

:End


I also got this below video on metcafe about the visual procedure of locking files


If you find any diffculties with the above procedure feel free to comment and leave your email id so that i can assist you

2 comments:

Anonymous said...

Problems:
1. Anyone who knows how to open a bat file can read your password

2. If you have Windows set to "show hidden files" this will not work.

Don't bother.

Anonymous said...

i have it set to "show hidden files" and its not there...although the first bit is true, anyone who can open a .bat file can read ur password..a good tip from me is to change the .bat at the end whenever you are finished and when u want to open it agen change it back to .bat.

Post a Comment

Other Interesting Articles



Related Article Widget by Yogith

Search Powered by Google