Home » Create password protected folder using notepad

Create password protected folder using notepad

Create 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.

Why use any folder locking software when your simple text editor, Notepad can lock your folders?

 

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.

Azzu

My name is Azad Ansari. I am from Delhi. I have completed my bachelor degree in computer science engineering. I have interest in technology and blogging that's why I have started this blog.

25 comments

Leave a Reply

Your Header Sidebar area is currently empty. Hurry up and add some widgets.