Sometimes its too hectic to protect your private folders from others. using softwares its too easy, but today you will be able to protect it just by few minute trick.

firstly you need to create the batch file for the working.

Here are steps for creating batch file

1. Open Notepad file and Copy the following code into it.


<—The code, copy the whole thing—->
Echo “Enter password to Unlock folder and in between”


title Folder Locker

if EXIST “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}” goto UNLOCK
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.
ren Locker “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}”
attrib +h +s “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}”
echo Folder locked
goto End
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
echo Invalid password
goto end
md Locker
echo Locker created successfully
goto End

2. Replace the code with your code after the line
3. Save file as name Locker.bat
4. Now open the file Locker.bat  by double click  it
5. it will create a folder for you. add your data in that file and then again double click on the file  Locker.bat
With this you can protect your data for free without any software if you want to change the password then right click on the locker file and then edit it. also you can copy the files to various location and create the folder (Protected) there too.