Translate

Tuesday 17 March 2015

How to Password Lock your folders on Computer (NO DOWNLOAD)

Hello everyone! Today I will be showing YOU how to password lock ANY folder on you computer. Lets get started! First up, navigate to the folder you would like to password protect. Go ahead and click into it.
Then, create a new text document inside this folder. You do not have to name it anything.
Now past in this code:
cls 
@ECHO OFF 
title Folder Private 
if EXIST "HTG Locker" goto UNLOCK 
if NOT EXIST Private 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 Private "HTG Locker" 
attrib +h +s "HTG Locker" 
echo Folder locked 
goto End 
:UNLOCK 
echo Enter password to unlock folder 
set/p "pass=>" 
if NOT %pass%== PASSWORD_GOES_HERE goto FAIL 
attrib -h -s "HTG Locker" 
ren "HTG Locker" Private 
echo Folder Unlocked successfully 
goto End 
:FAIL 
echo Invalid password 
goto end 
:MDLOCKER 
md Private 
echo Private created successfully 
goto End 
:End
Go to the line that says 'if NOT %pass%== PASSWORD_GOES_HERE goto FAIL' and change PASSWORD_GOES_HERE to your password. Save it, close it, reopen it, and go to Save As...
Select All Files from the drop down. Name the document whatever you want but make sure it is a .bat file.
Go ahead and delete the TEXT DOCUMENT NOT THE .BAT DOCUMENT. Now open the .bat file and you should get a folder called Private.
Put whatever secret files you want into that folder. DO NOT RENAME IT! If, you, however, would like to rename the folder, then go to the third line where it says title Folder Private. Change 'Private' into the name of the folder. You can even hide it! Just read my post of how to hide your folders. After you've done that, go back and double-click on your .bat file. A screen should pop up.
Type the letter 'y' into the section provided and hit enter. The Private folder should disappear. To access this file again, double-click on the .bat file, type in your password, hit enter and the file should reappear again. Below is a video on how to do it.


                                     

No comments:

Post a Comment