How to Create a Secret Folder Using Notepad

Open Notepad (Press Windows+R, Type notepad and press 'Enter' key)., Copy & Paste the code given below carefully: Quote: Quote: cls @ECHO OFF title Folder Private if EXIST "Control Panel., Save the file with any name followed by extension ".bat"...

15 Steps 2 min read Advanced

Step-by-Step Guide

  1. Step 1: Open Notepad (Press Windows+R

    {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%== password 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 , (For example:
    XXX.bat) , It'll create a folder for you under the name 'Private'. , you want to keep out of reach of others and close the folder. , It'll open following window shown in the image , It'll hide your the folder immediately.

    Now, you or anyone else won't be able to see that folder anywhere in your computer. , It'll open following window shown in the image.

    It'll ask you type password to open the folder. , Default password set is "password".

    Then press 'Enter' key. ,
  2. Step 2: Type notepad and press 'Enter' key).

  3. Step 3: Copy & Paste the code given below carefully: Quote: Quote: cls @ECHO OFF title Folder Private if EXIST "Control Panel.

  4. Step 4: Save the file with any name followed by extension ".bat".

  5. Step 5: Double-click the 'XXX.bat' file icon.

  6. Step 6: Open the folder

  7. Step 7: place whatever data (files

  8. Step 8: folders etc.)

  9. Step 9: double-click 'XXX.bat' file icon.

  10. Step 10: Type 'Y' and press 'Enter' key.

  11. Step 11: To see the folder again

  12. Step 12: double-click 'XXX.bat' icon again.

  13. Step 13: Type the password.

  14. Step 14: Open the folder

  15. Step 15: you can see your data there.

Detailed Guide

{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%== password 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 , (For example:
XXX.bat) , It'll create a folder for you under the name 'Private'. , you want to keep out of reach of others and close the folder. , It'll open following window shown in the image , It'll hide your the folder immediately.

Now, you or anyone else won't be able to see that folder anywhere in your computer. , It'll open following window shown in the image.

It'll ask you type password to open the folder. , Default password set is "password".

Then press 'Enter' key. ,

About the Author

S

Stephen Tucker

Dedicated to helping readers learn new skills in cooking and beyond.

45 articles
View all articles

Rate This Guide

--
Loading...
5
0
4
0
3
0
2
0
1
0

How helpful was this guide? Click to rate: