Also Like This Post: HOW TO CREATE FOLDER "CON"
Step 1 : Create one New Folder .Then give the name of Folder .e.g-SECURE FOLDER
Step 2 : Then Open Notepad And Put Below Code in Notepad .
cls
@ECHO OFF
title Folder private
if EXIST “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}” goto UNLOCK
if NOT EXIST Private goto MDLOCKER
:CONFIRM
echo Are you sure you 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 Private “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%==Set your password here goto FAIL
attrib -h -s “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}”
ren “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}” Private
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDLOCKER
md Private
echo Private created successfully
goto End
:End
Step 3: after put the code in Notepad Then Set Your Password in that code.
Step 4: Now Save This File In Your Folder where you want to lock your files and save the file name with “.bat” extension and Save as Type will All Files . > E.G -:” Secure.bat”
Step 7 : after create the private folder if you want to lock the private folder then go on secure.bat fie (batch file) then open it .then there is cmd window is open in that you see one massage “are you sure you want to lock the folder(Y/N)” then enter Y if you want to lock it .then after press enter .now your private folder will be lock.so you can not see it you can see only batch file.
Step 8 : after lock the folder if some time you want to add some private data into your private folder .so first you want to unlock it. So again go on secure . bat file (batch file) then open it .and again you see cmd window and one massage but massage is different this time “Enter your Password to Unlock Folder” .now enter your password that you set in batch file ex:- 0000 then press enter .then your private folder will unlock.
Now Friends You Understand very well How to Lock Folder By Giving Password. Friends if you Like this Trick then Share this Post and don’t forgot to write a comment Below.
You May Also Like To Read: HOW TO PROTECT YOUR COMPUTER FROM HACKERS
Out Of Topic Show Konversi KodeHide Konversi Kode Show EmoticonHide Emoticon