How to hide any folder and lock it with password without any software

Get know about How to Lock any Folder in PC Without using any software


How to Lock any Folder in PC Without using any software?

1. First of all open Notepad.

2. Now Copy and Paste below code in it.

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%==type 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

3. Now in this code search type your password here and replace it with your password.

4. Now Click on  file and then click on Save As.

5. Save file with .bat extension ex-  you can save file locker.bat

6. Locate your file where you save it. 

7. Now double click on it you will see a new folder name locker (name is different same as you save file name)

8. Now copy all things in it which you want to protect and hide.

9. Now again click on that saved file after copying and it was Y/N just type  Y to lock and hide.

10. After enter you will see folder disappear. 

11 Now to unlock and unhide just double click on .bat file and type your password and just wait for some minutes.

12. Done. Enjoy!
How to hide any folder and lock it with password without any software How to hide any folder and lock it with password without any software Reviewed by PInshu TechGuru on August 25, 2019 Rating: 5

No comments:

Powered by Blogger.