How to Hide a Folder Using Notepad

This is a very simple way to hide the folder with the necessary documents without installing any software. You only need a standard notepad, which is included in all versions of Windows.
You can access your folder using a password.
1. Open notepad and copy this code into it:

cls
@ECHO OFF
title Folder home.washerhouse.com
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST home.washerhouse.com goto MDLOCKER
:CONFIRM
echo Hide 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 home.washerhouse.com "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 the Password
set/p "pass=>"
if NOT %pass%== 12345 goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" home.washerhouse.com
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDLOCKER
md home.washerhouse.com
echo home.washerhouse.com created successfully
goto End
:End


How to Hide a Folder Using Notepad

How to Hide a Folder Using Notepad

2. Save the text document in the place where you need to create a secret folder.
How to Hide a Folder Using Notepad

3. Change the extension and name from “Text document.txt” to “locker.bat”.
How to Hide a Folder Using Notepad

If document extensions are not displayed on your computer, you will need to enable the display: Go to the “Control Panel” and look for “Folder Options” or “Explorer Options” (depending on the system version) and there uncheck the “Hide extension for registered users” files".
How to Hide a Folder Using Notepad

How to Hide a Folder Using Notepad

4. Now double-click with the left mouse button (normal program launch) to launch our created program. When you first launch the program, it will create a folder next to it called “home.washerhouse.com”. This will be your secret folder. You can put documents there that need to be hidden from prying eyes.
How to Hide a Folder Using Notepad

5. Next, run the program again. She asks "Hide folder?" (“Hide folder?”). We answer “Y” (yes). And presses “Enter”. The folder will become invisible.
How to Hide a Folder Using Notepad

How to Hide a Folder Using Notepad

How to Hide a Folder Using Notepad

6. To display the folder and return it to its normal state, run the “locker.bat” program again. He will ask for a password - “Enter the Password”. By default it is: “12345”. After entering, press “Enter” and the folder will appear again.
How to Hide a Folder Using Notepad

How to Hide a Folder Using Notepad

How to Hide a Folder Using Notepad

7. If you want to change your password, open the program “locker.bat” using notepad, find “12345” and change it to your password. Use numbers and only Latin characters.
That's all. If you have any questions, write in the comments, I will try to answer.
come back
Comment
  • bowtiesmilelaughingblushsmileyrelaxed relaxedsmirk
    heart_eyeskissing_heartkissing_closed_eyesflushedrelievedsatisfiedgrin
    winkstuck_out_tongue_winking_eyestuck_out_tongue_closed_eyesgrinningkissingstuck_out_tonguesleeping
    worriedfrowninganguishedopen_mouthgrimacingconfusedhushed
    expressionlessunamusedsweat_smilesweatdisappointed_relievedwearypassive
    disappointedconfoundedfearfulcold_sweatperseverecrysob
    joyastonishedscreamtired_faceangryragetriumph
    sleepyyummasksunglassesdizzy_faceimpsmiling_imp
    neutral_faceno_mouthinnocent
4 minus one =
Comments (4)
  1. Andrey Antonov
    #1 Andrey Antonov Guests 24 August 2018 20:49
    2
    But the body file itself also needs to be hidden, because changing the password is easy)
  2. Guest Alexander
    #2 Guest Alexander Guests 27 January 2019 16:20
    1
    Nooooo, it won't work. My settings are set to: "Show hidden and system files" (((
  3. guest A.K.
    #3 guest A.K. Guests 4 May 2020 17:27
    5
    Sadness - sadness! Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D} visible as hidden
  4. SOMEONE
    #4 SOMEONE Guests April 7, 2022 09:17
    0
    How to hide the code in a batch file?
    Can anyone do the same?