Steps to Password Protect Folder Without Any Software:

Open Notepad and copy the following code(below code)


cls
@ECHO OFF
title Folder Locker www.droidreflex.com
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" 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
pause
goto End
:UNLOCK
echo Enter password to Unlock folder
set/p "pass=>"
if NOT %pass%==droidreflex 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
pause
goto End
:End

  • Save the file as "lock.bat". (Once you create a document by default you will get the name as New Text Document, After copying the above code then go to File then click Save As then enter "lock.bat" as shown below. Make sure you type "lock.bat" as it is including the quotes).
Picture+2014-04-21+17_27_38
Click on image to Enlarge 
  • After saving double click on "lock" file, it will create a folder by name "Locker".
  • Place the files you want to hide in the created folder (Locker Folder)
  • After copying data in the Locker folder again double click on "lock" file and then press Y
  • Now the folder is hidden !!!
  • To un-hide the file , double click on "lock" file and enter the password. Default password is droidreflex
  • Change the password by replacing droidreflex word with the desired password in above code (in lock file).
  • Delete the New Text Document.