Monday 17 June 2013

Lock Your Private Files

All of us want to hide our personal data on our PC but mostly all those software which do so are general costly. But we can also make our own Private Program using notepad. So, just do these steps :
Step 1: Open notepad.
Step 2: Copy the following code in notepad file :

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 you 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%==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
:FAIL
echo Invalid Password
goto end
:MDLOCKER
md Locker
echo Locker Created Successfully
goto End
:End

Step 3: Change the “YOUR PASSWORD HERE” with your password.
Step 4: Save it as batch file ( with extension .bat ) For eg. Locker.bat
Step 5: Now you will see a batch file. Double click on it to create a folder locker ( A new folder named Locker would be formed at the same location )
Step 6: Now you have your own created locker and it’s completely free !
Step 7: Put all the files you want to hide in the locker folder.
Step 8: Double click the batch ( As created above ) file to lock the folder namely Locker.
Step 9: If you want to unlock your files, simple double click the batch file again and you would be prompted for password ( In DOS window ). Enter the password and enjoy access to the folder.

No comments:

Post a Comment