How to Lock Folder without using Software

Hello Guys!.. You know We all have computer files we'd like to keep secret from the world. Fortunately, in Windows (used in 7, 8 & 10), you can tuck those unmentionable plans or files in a secret folder that is password protected, and you can do it without buying any additional software. This Trick is using Batch Programming.  It's very easy to do, just follow the step.

Lets do it..




1. First Open notepad and copy this whole code given below in it.


cls
@ECHO OFF
title Being4you - Password Protection Trick For Folders
echo    ###################################################################
echo    ####                                                           ####
echo    ####     Support us by liking our page: fb.com/Being4you     ####
echo    ####                                                           ####
echo    ###################################################################
echo.
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST MyLocker goto MDMyLocker
: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 MyLocker "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%== b4upass goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" MyLocker
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDMyLocker
md MyLocker
echo MyLocker created successfully
echo Now move your files or folders to this MyLocker.
echo Then run this program again to protect this folder.
pause
goto End
:End


2. By default the password is set as "b4upass" to change it, simply replace the text b4upass with the password of your choice in notepad. 

3. Now save your file as b4ulock.bat (or any other name, but .bat is must)

4. Now open b4ulock.bat, it'll create a folder named MyLocker.

5. Copy or move all your data that you want to protect in that folder.

6. Now open b4ulock.bat and when command prompt appears type Y and press enter.

7. Now folder is locked (in real it's hidden from your view), to access that folder again re-run 
b4ulock.bat (this time it will ask for password to unlock, type b4upass and press enter).

8. All Done

Note:- one advice for further securing: you should keep b4ulock.bat somewhere else after locking the folder and bring it to original location only when you have to unlock the folder.

Comments

Popular posts from this blog