Ads 468x60px

twitterfacebookgoogle pluslinkedinrss feedemail

Infolinks In Text Ads

Saturday 7 May 2011

How to Make a Simple Folder Lock

 How to Make a Simple Folder Lock

There always something that we want to hide in our computer or pen drive from others. I myself don't like people to see my private folder, file, or document. What we always do is download the software for locker and install it right?.


So what we have here is a quick and simple tutorial on how to make a simple file lock by yourself. It doesn't need to be expert or something, it's just need a simple coding to be done..

Here we go..

1. Open your Notepad.
2. Copy and Paste the code below on your Notepad.


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

3. Change the YOURPASSWORD in the coding above with your own password.
4. Save it in batch file format. For example " MyLocker.bat "..
 

 5. Click on the MyLocker icon, wait a moment and the invisible folder should be there.
6. Now you can put all your private stuff on the folder. Enjoy it....

Note: It's not 100% guarantee that your stuff is safe. Not on expert hand, but you can still rely on it. You can do this on your pendrive too...

0 Comments:

Post a Comment

Drop Your Comments and Suggestions Here!!!

Related Posts Plugin for WordPress, Blogger...