Create password protected folder using notepad

What is password protect folder? how to password protect a folder?  A lot of question we are searching for password protect folder. Don’t worry about this, Everything is explained in this article.

Create a password protect folder

Having something PRIVATE to keep or did not want someone to see your secret files. No problem… You don’t have to google a software over the internet to hide your files. You can make your own folder lock. yeah, it’s simple and easy to create password protect folder windows 10, Windows 7 or for any Windows.

Why use any folder locking software when your simple text editor, Notepad can lock your folders? how to password protect a folder? Well, There are many good software available in the market one of my favorite software is “password folder”.

To use this Notepad tricks, follow these steps:

1. Open Notepad

2. Copy the following code:

@ECHO OFF

if EXIST “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}” goto UNLOCK
if NOT EXIST hackchefs goto MDhackchefs
:CONFIRM
echo Are you sure to lock this 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 hackchefs “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 Your Secure Folder
set/p “pass=>”
if NOT %pass%== hackchefs goto FAIL
attrib -h -s “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}”
ren “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}” hackchefs
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDhackchefs
md hackchefs
echo hackchefs created successfully
goto End
:End

 written in red is password. Change it to your own password (Default Password is Hackchefs)

3. Save the file as hack.bat with File Type As All Files.

Now, when you click hack.bat, it will create a hackchefs folder.

Move your private files, documents, and folders here.

Close hackchefs folder.

Now, no one will be able to open the folder without the password. You have successfully created your password protect folder.

 

If you want to change the folder name, Follow these steps:-

1. Right Click on hack.bat and click on EDIT.
2. Replace all “hackchefs” text with your desired folder name.
3. Save the file.

Now you successfully changed the folder name.

Share this

Leave a Comment

For security, use of Google's reCAPTCHA service is required which is subject to the Google Privacy Policy and Terms of Use.

I agree to these terms.