Professional Documents
Culture Documents
How To Lock A Folder With A Password in Windows 10
How To Lock A Folder With A Password in Windows 10
1. Right-click inside the folder where the files you want to protect are located. The folder you
want to hide can even be on your desktop.
cls
@ECHO OFF
goto UNLOCK
set/p "cho=>"
goto CONFIRM
:LOCK
goto End
:UNLOCK
set/p "pass=>"
goto End
:FAIL
echo Invalid password
goto end
:MDLOCKER
md Locker
goto End
:End
8. Replace "Your-Password-Here" with the password you want to lock the folder with.
9. Click File.
17. Open the FolderLocker file, because it's time to lock that folder up!
18. Type "Y" into the screen.
19. Click Enter, and the Folder Locker window will disappear, along with the Locker folder
itself! Your secrets are safe!
To unlock the folder, double-click "FolderLocker" to open it.