Satvir Matharu Blog

We provide latest Technology Tips, tricks and solutions regarding Android and Windows OS with Technical Videos.

How To Create Password Protected Folder Using NotePad In Windows

How To Create Password Protected Folder Using NotePad In Windows

Hello ….

                 Today M Back With A New Awesome Notepad Trick . Now I will help u to create a Password Protected Folder . Privacy is really important for everyone that is why i post this trick  So lets start Without wasting time..

                                              To Create Password Protected Folder Just Follow The Steps Below :-


Create Password Protected Folder In NotePad ..

Steps:-

  1. Open Notepad.
  2. Copy The Following Code And Paste In NotePad.

@ECHO OFF

title Folder Private 

if EXIST “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}” goto UNLOCK if NOT EXIST Private goto MDLOCKER: CONFIRM echo Are you sure you want to lock the 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 Private “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 folder set/p “pass=>” 

if NOT %pass%==  Matharublog.Wordpress.com goto FAIL attrib -h -s “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}” 

ren “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}” Privateecho Folder Unlocked successfully goto End 

:FAIL 

echo Invalid password goto end

:MDLOCKER 

md Private 

echo Private created successfully goto End 

:End

3. Save This Code/File As Private.bat With File Type As All.

4. Now, when you click on Private.bat, it will create a Private folder. Move your private files, documents and folders here.

5. Close Private folder.

Private And Password Protected Folder
                        ☝Password Protected Folder☝

6. Done !!! U successfully create a Password Protected Folder Now, no one will be able to open the folder without the password.


Note :- Matharublog.Wordpress.com written in Bold Fonts is password. Change it to your own password.


THANKS…If u face any type of problem just comment below…

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Back to top
%d bloggers like this: