How to create a folder with Password ?

1.Open your notepad application and write this Bat code:

title Folder Private
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST Private goto MDLOCKER
echo Hide your folder Y=yes N=No(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 Private "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
echo Folder locked
goto End
echo your password Please
set/p "pass=>"
if NOT %pass%== Password goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Private
echo Bien Bloquer GG
goto End
echo Invalid password
goto end
md Private
echo Private created successfully
goto End
2. replace your "Password" with your own password that you want to use.

3. save the file with ".bat" extension.

don't forget to add ".bat"

4.Double-click on the bat script.
Voici à quoi ressemble le fichier enregistré
5. a new folder called "Private" will be created , put all your files and documents to be hided.

6.When you finish , reexecte the script to hide the private folder, you will get a message , yes or now to hide files 

7.If you click yes , folder will be hided

8.s to review your files , reexecute the script and put the password,  your private folder will be displayed. 

Previous Post Next Post