How to password your all files with Notepad
Notepad as a password software | 🔐
today you will be known how to password your any files without software. You can do it by notepad.
It is very simple. Now below code should be copied and pasted to notepad by you.
cls
@ECHO OFF
title Folder Private if EXIST "HTG Locker" goto UNLOCK
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%==whatisbad 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
I know maybe you have done this. But many people maybe don't know. So you guy save the file as
Locker.bat
And select save as type All files.
Then save.
you will see a new folder name is private. Then you can drag and drop or copy & paste that you need secrete folders.
So now double-click the Locker.bat This time command prompt opens and asks a question. (y/n)
You type "y" and press enter button.
Now your private folder will disappear in 1 or 3 seconds. Then double-click the Locker.bat
The command prompt opens and asks the password.
your password is "whatisbad".You type it and press enter button.
That private folder will disappear.
Now everything is ok.
| How to change password |
1.click the right key of the mouse, Locker.bat and
click "edit"
2. You find the "whatisbad"
3.next, you cut it and write your own password.
after save.
| Video tutorial |
This is the method I used. Try this and tell me about your success.