How To create a Password Protected Folder without any software (using notepad trick)


How To create a Password Protected Folder without any software (using notepad trick)


We all have computer files/documents we'd like to keep hide from the world. luckily, in Windows 10, you can lock those with this unique or guaranteed strategy or files in a secret folder that is encrypted/password protected, and you can do it without buying any additional  third party software.


1. Right-click over that folder where the files you want to protected are located. The folder you want to hide/lock can even be on your desktop.


2. Select "New" from the contextual menu (Right click menu)


3. Click on "New Text Document"


4. Press Enter. It doesn't matter what the has be named. You can delete this text document once lockable folder which will be made.


5. Open the new text document and Paste below text 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 wanna 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 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 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


7. check in above code where "Your-Password"

8. Replace "Your-Password" with the password you want to lock the folder between this name.

9. Click File and select Save as

10. you can give it any name with .bat extantion. for example FollderLockerr.bat (Make sure save as type should be *All*)

11. Double click FollderLockerr.bat or whatever you saved. A CMD will open and close
This means "The folder locker has been created"


12.
When the CMD pop ups , enter password you entered in Step 8, and click Enter


13. To unlock folder, double click "
FollderLockerr.bat" you saved to open it.


Comments

Popular posts from this blog

[Termux] ... How to Remove termux Welcome screen Text

How to change fonts/Colors in termux app.

How to Insert ANCII txt in your termux terminal ?