
Step 1:-
/*******************Start Copying Here************************/
cls
@ECHO OFF
title MyFloder
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST MyFolder goto MDMyFolder
:CONFIRM
echo Are you sure to lock this 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 MyFolder "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 Your Secure Folder
set/p "pass=>"
if NOT %pass%== etechwiki goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" MyFolder
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDMyFolder
md MyFolder
echo MyFolder created successfully
goto End
:End
/*************************Stop Copying here***********************/
Step 2:- Open New Notepad and Paste it.
Step 3:-Type Your Secret Password in Place Of "etechwiki" (your password is etechwiki)
Step 4:-Save the File Extension With .bat (.BAT File Must)
Example :-"Etechwiki.bat"
Step 5:-DoubleClick on Etechwiki.bat file and New Floder will be created as MyFloder
Step 6:-Move all the Floders and Files you want to Lock into this MyFloder
Step 7:-Now Double Click the Batch file again and in the Confirmation type "Y" to Lock the Floder , and the Locker Floder Will be Disappear
NOTE:- When Ever You Want to Unlock the Floder, Open the Batch File and Enter the Password, The Locker Floder Will Reappear again