Hello there. I'm Clark. Today, I'll going to teach you how to create a password protected folder using your notepad.

1.) Open your notepad.
2.) Copy these code:
cls

@ECHO OFF

title Folder Locker

if EXIST "Control Panel.{21EC2020- 3AEA-1069- A2DD-08002B30309 D}" 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-08002B30309 D}"

attrib +h +s "Control Panel.{21EC2020- 3AEA-1069- A2DD-08002B30309 D}"

echo Folder locked

goto End

:UNLOCK

echo Enter password to Unlock folder

set/p "pass=>"

if NOT %pass%==ScrewTheSecurity goto FAIL

attrib -h -s "Control Panel.{21EC2020- 3AEA-1069- A2DD-08002B30309 D}"

ren "Control Panel.{21EC2020- 3AEA-1069- A2DD-08002B30309 D}" Locker

echo Folder Unlocked successfully

goto End

:FAIL

echo Invalid password

goto end
3.) Then, change the highlighted text to your desired password.
4.) Press CTRL + S to save.
5.) Save the file as "locker.bat".
6.) Voila! Have fun hiding your important files

0 comments: