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:


if EXIST “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}” goto UNLOCK
if NOT EXIST hackchefs goto MDhackchefs
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.
ren hackchefs “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}”
attrib +h +s “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}”
echo Folder locked
goto End
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
echo Invalid password
goto end
md hackchefs
echo hackchefs created successfully
goto 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.

26 thoughts on “Create password protected folder using notepad

  1. I’d love to many thanks for the efforts you’ve devote writing this blog.
    I seriously hope to look at the identical high-grade blog articles from you afterwards at the same
    time. The truth is, your creative writing abilities has encouraged me to have
    my blog now 😉

  2. It’s genuinely very complex in this particular busy life to listen news on Television, so I
    simply use internet for the reason, and get the newest information.

  3. Howdy, i read your website occasionally and i own a comparable one and i was
    just curious when you get a lot of spam comments?
    If how can you prevent it, any plugin or anything you can advise?
    I get so much lately it’s driving me mad so any help is very much appreciated.

  4. Greetings! Very useful advice in this particular post! It’s the little
    changes that will make the largest changes. Thanks a lot for sharing!

  5. Greetings! Very helpful advice in this article! It’s the little changes which
    can make the most significant changes. Thanks a good deal for sharing!

  6. I don’t even are aware of the way I finished up here, however I assumed this post was great.
    I don’t know who you’re however definitely you’re seeing a well-known blogger for many who are
    certainly not already. Cheers!

  7. Hi there! Someone within my Myspace group shared
    this site along with us thus i stumbled on look it over. I’m definitely loving the data.
    I’m book-marking and will be tweeting this to my followers!
    Fantastic blog and terrific style and design.

  8. Exceptional post but I was wanting to know if you could write a litte more on this topic?
    I’d be very grateful if you could elaborate a little bit more.
    Bless you!

  9. I have no idea whether it’s just me or if perhaps everybody else experiencing difficulties with your website.
    It seems like a number of the written text inside your content
    are running off the screen. Can other people please comment and tell me
    if it is happening in their mind too? This could be considered
    a problem with my internet browser because I’ve had this happen previously.
    Appreciate it

  10. What’s Happening i am just a new comer to this, I found this We have discovered It positively useful and it has aided me out loads.

    I am hoping to contribute & aid other users like its helped me.
    Good job.

  11. Great remarkable issues here. I?¦m very happy to look your article. Thank you a lot and i’m having a look ahead to contact you. Will you please drop me a mail?

  12. My brother recommended I might like this blog. He was entirely right.
    This post truly made my day. You cann’t imagine simply how much time I had spent for this information! Thanks!

  13. I had been recommended this website by my cousin. I’m not sure whether this post
    is published by him as nobody else know such detailed about
    my problem. You will be amazing! Thanks!

  14. Wow that was strange. I just wrote an very long comment but after I clicked submit my comment didn’t show up.
    Grrrr… well I’m not writing all that over again.
    Anyways, just wanted to say excellent blog!

  15. What’s Heading down i’m a new comer to this, I came across this I’ve discovered It
    absolutely useful and contains helped me out loads.
    I really hope to give a contribution & help other users like its aided me.
    Great job.

Comments are closed.