Keeping a folder secret or out of reach of others in your computer (running on Windows operating system only) usually becomes more difficult if a common computer is used by all family members. But after reading this article, You'll not only be able to create a secret hidden folder but also It'll be a password protected folder, until unless user don't enter exact password. Your folder won't open. So, lets see how to do this. Follow the steps below.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhFBKwF0T-Bh3Unt_T6F_wtJoskk_fv3lKwR58q7gPBX8zcnkCl_bNIaBNoS7J_D5LCk8cZFcQxdE3_rWsGr3LDCgp7pgLXBiSox4o0022gSSvovHZDfRDaEsOPNlXTlRodg-LGuxMlk1x6/s400/create-password-protected-folder.jpg) |
How to Create A Password Protected Folder Using Notepad |
Step 1: Open Notepad (Press Windows+R, Type notepad and press 'Enter' key).
Step 2: Copy & Paste the code given below.
Quote:
Quote: cls
@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%== 123456789 goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Private
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDLOCKER
md Private
echo Private created successfully
goto End
:End
Step 3: Save the file with any name followed by extension "
.bat " (For example:-
LLSINFO.bat)
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhRZcIl1A8FWxeDJkxqBpXveXnuqYG7vZK1oufqtNMhxa2XDHkJcERmey66Y76XCvoTpmK6CYswfEXWcqNPc5Sg-FqA5Z2JRWP-CE8EYFfPO_QHCJDQS8OqunEmpKvlVXY5uJBoX5PyiIO4/s640/3.JPG) |
How to Create A Password Protected Folder Using Notepad |
Step 4: Double-click the " LLSINFO.bat " file icon. It'll create a folder for you under the name 'Private'.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjHQu1tiOLqZpRQ8tpwuVudC7TcCRDLqFYCHY1AuBDYw_SCrQWUpwmNU-VrbUtO8SMXSJ9ksoFIyDjO9LRXei-jkBwogntO33DqCxaR_uYuJ7CyBWv5MmcmHjajEk4AqIfhN-frRYUwJXN8/s400/4.JPG) |
How to Create A Password Protected Folder Using Notepad |
Step 5: Open the folder, In this folder copy & paste data (files, folders etc...) The data you want to secure.
Step 6: After placed data in private folder you can close the folder.
Step 7: Again, double-click "
LLSINFO.bat " file icon. It'll open following windows screen shown in the image.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjThNW8jb4RuMQNJB6EC9L5OvGDjQJFNF5pV-3C-CtnQcaknyyeG2KcMDseA1GSjGEFoHhL5P2O-kwbbCm56TwrHvW3PK-PDg6JW9XB2tMLWOzBY5YcwEAsshcp9B7M0L9En078pHWY8UO_/s640/7.JPG) |
How to Create A Password Protected Folder Using Notepad |
Step 8: Type 'Y' and press 'Enter' key. It'll hide your the folder immediately. Now, you or anyone else won't be able to see that folder anywhere in your computer.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhOQ81B1zFmWF-1Dx_EIwbf9gO7uwYlstn7YNonh1OFCIpZQcvd2m7egVtcnIjXDnTgQGP83mlDnYU5RAJtpMTscsSSNIZnhqNCi8NoV8qg553imYu7gLOF5acBsrpQY1FZaRNwp6l2Ndk5/s640/8.JPG) |
How to Create A Password Protected Folder Using Notepad |
Step 9: To see the folder again ?, double-click "
LLSINFO.bat " icon again. It'll open following window screen shown in the image. It'll ask you type password to open the folder.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhavvUlpJl_H3SmI-UIKdINpefBoNE0AfgE2Al6zd0oFM6IVc3t7IBTGn9g3LEyhr-A-x4j8r2BpusECnNeMbVRhh9qLOZkT77C5dRKAQyv3UNwTM5odLxrve-SPSJlgkLYyGdarLalbIDl/s640/9.JPG) |
How to Create A Password Protected Folder Using Notepad |
Step 10: Type the password. Default password set is "
123456789". Then press 'Enter' key.
Note: You can change password only change in given above code
line no-24.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjqVsmUmN0jxyP27A4oaxBoXwiukMqohlOMmTTGBlrT8QDwVJMd9CRUWc1wYfNdNpZreSacq7sEfWmt7b_pf-haH3s5I36YlrDCxuV7MOwQplJhHrc7hBR5dq4ONlW7_XPbxW1RE-7Bistf/s640/10.JPG) |
How to Create A Password Protected Folder Using Notepad |
Step 11: Now see the folder 'Private' , Open the folder, you can see your data there.