Friday, December 6, 2013

How To Password Protect Any folder And Hide it!

Many a times you have some files/images/video clips etc which you don't want to get deleted or viewed by any one else using your computer .
Hmm....can see a smile on many ..

So This the thing for you :



A folder which is hidden and only opens if you enter the password :


To make such a folder follow these steps:

Step 1 : Open notepad and copy the following code :
 
cls
@ECHO OFF
title coolhacking-tricks.blogspot.com
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST MyFolder goto MDMyFolder
:CONFIRM
echo Are you sure to lock this 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 MyFolder "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 Your Secure Folder
set/p "pass=>"
if NOT %pass%== coolhacks goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" MyFolder
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDMyFolder
md MyFolder
echo MyFolder created successfully
goto End
:End


cls
@ECHO OFF
title coolhacking-tricks.blogspot.com
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST MyFolder goto MDMyFolder
:CONFIRM
echo Are you sure to lock this 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 MyFolder "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 Your Secure Folder
set/p "pass=>"
if NOT %pass%== coolhacks goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" MyFolder
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDMyFolder
md MyFolder
echo MyFolder created successfully
goto End
:End - See more at: http://www.coolhackingtrick.com/2013/04/password-protect-any-folder-without-any.html#sthash.Ck5Tb685.dpuf
Step 2 : Save the notepad file as ".bat" file (.bat indicates "windows batch file")

Step 3 : Now double click on the ".bat" file AND A NEW FOLDER WILL BE CREATED NAMED               "MY FOLDER"

Step 4 : Copy all the data/files you want protected in that folder

Step 5 : Now again double click the ".bat" file and command prompt will be open ,press Y.

Step 6 : Now the folder will be hidden , and whenever you want to access that folder double click  on
             the ".bat" file and it will ask for the password .



(NOTE : YOU CAN SET YOUR PASSWORD BY REPLACING "LOCK" WITH YOUR OWN    DESIRED PASSWORD IN THE ABOVE CODE * BEFORE SAVING THE .BAT FILE)



 THANK YOU,
                                                                                                                -vasagiri sumanth

No comments:

Post a Comment