lock folders
Many people want to lock their folders , you may do it by using compressed folders but it only locks the content inside , you can see what is inside but when you want to excess it they ask for a password. This hack allows you to lock a folder and allow it to disappear. only when you enter the password it will show up your folder and you will allow you to access your folder.

Instructions

  • First Create a notepad file
  • Copy this into it –

cls
@ECHO OFF
title Folder Locker
if EXIST “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B303
09D}” 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

  • Replace “TYPE YOUR PASSWORD HERE” in the above text with your password.
  • save it as locker.bat
  • now start locker.bat
  • it will create a new folder
  • put your content over there , what you want to password protect.
  • now run locker.bat again
  • now the folder will disappear. To get it back simply double click locker.bat , enter your password and then you will get your folder back!