How to hide a folder using notepad

Pin
Send
Share
Send

This is a very simple way to hide the folder with the necessary documents without installing any software. You will need only a standard notebook, which is in all versions of Windows.
You can access your folder with a password.
1. Open notepad and copy this code into it:
cls
@ECHO OFF
title Folder sdelaysam-svoimirukami.ru
if EXIST "Control Panel. {21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST sdelaysam-svoimirukami.ru 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 sdelaysam-svoimirukami.ru "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}" sdelaysam-svoimirukami.ru
echo Folder Unlocked successfully
goto end
: FAIL
echo Invalid password
goto end
: MDLOCKER
md sdelaysam-svoimirukami.ru
echo sdelaysam-svoimirukami.ru created successfully
goto end
: End

2. Save the text document in the place where you need to create a secret folder.

3. Change the extension and name from "Text document.txt" to "locker.bat".

If your computer does not display document extensions, then the display will need to be turned on: Go to the "Control Panel" and look for "Folder Property" or "Explorer Settings" (depending on the version of the system) and uncheck "Hide extension for registered files ".

4. Now, by double-clicking with the left mouse button (normal program launch) we launch our created program. At the first start, the program will create a folder next to it with the name "sdelaysam-svoimirukami.ru". This will be your secret folder. There you can put documents that need to be hidden from prying eyes.

5. Next, run the program again. She asks "Hide folder?" ("Hide folder?"). We answer "Y" (yes). And presses "Enter". The folder will become invisible.

6. In order to display the folder and return to its normal state, run the program "locker.bat" again. He will ask for the password - "Enter the Password". By default it is: "12345". After entering, press "Enter" and the folder will reappear.

7. If you want to change the 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 definitely try to answer.

Pin
Send
Share
Send

Watch the video: How To Lock A Folder Using Notepad 2016 (December 2024).