Lock Folder With Password-Set Password On Files-Folders 2016

Lock Folder With Password-Set Password On Files-Folders 2016


Friends today in my this article I am going to teach you how can you password protect your files folders from others without any software by just using notepad. The first thing is why we need to set password on our files and folders in my thinking we set password on any file to make that private so that no one can access these files if someone has a physical access to your computer. But the reasons may be different with different people, but my reason is that my brothers cannot access or delete my files which I need in blogging. That’s why I set password on my files. 
Today we are going to set password on files, folders or any data which we want to make private by just using notepad. Yes only notepad and a little time you will be able to set password on your important and private files. 


My dear visitors, please do not set password on any important file or folder of your friends or any other whose computer you can access this may create problems for you and for others. So please do not use this for any illegal purpose.

Why Do We Need To Lock Folder?

Friends as all of us know that every body has privacy every body has his own personal information that’s why one have to lock his personal data from other so we can say that priacy is the main reason for which someone hides or locks his files images videos and any thing else. Most of the peoples who have short mind and have many accounts like Facebook, Gmail and other may forget their password of these accounts so that we a file and hide that file or lock that file or for more security they can also hide and lock their folder. Reasons may be vary with peoples but the point is same locking a folder.

How Will We Do This Task? (More Information)

So there are many method to lock a folder and protect your private files from others but the most useful is to use a software but there is a main problem if you lock your folder using some software the icon of that folder always remains on your desktops and your family members can ask you what you have hidden in your locked folders then you have to be answerable but method we are going to use is very simple and you do not have need of any kind of software you just need some script and some time which we have and some help of Tricks VS My Tips that is always with you. So it is very easy with us.

Let’s Learn To Lock Folder With Password-Set Password On Files-Folders 2016

1.   Open your notepad by going Start > All Programs > Accessories > Notepad.

2. Copy the code given below and paste it into the notepad.

title Tricks VS My Tips
if EXIST “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}” goto UNLOCK
if NOT EXIST MyFolder goto MDMyFolder
echo Buddy 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 MyFolder “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}”
attrib +h +s “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}”
echo Folder locked
goto End
echo Enter the Password to Unlock Your Secured Folder
set/p “pass=>”
if NOT %pass%== EnterYourPassword  goto FAIL
attrib -h -s “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}”
ren “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}” MyFolder
echo Yay! Folder Unlocked successfully
goto End
echo Sorry Bro Invalid password!
goto end
md MyFolder
echo MyFolder Created Successfully!
goto End

3. Now you have to replace the “Enter Your Password” with your own.

4.   Its time to save the file, save files as Tricks VS My Tips.bat remember “.bat” is necessary.

5.  Now open that file by double clicking you will see that a new folder names “My Folder” has been created.

6. Now copy all your documents which you want to lock and paste in that folder which was create now (In “My Folder”).

7.   Once again double click the file (Tricks VS My Tips.bat) it will ask you “Buddy are you sure to lock this folder?” Press “Y” for confirming this. My Folder will be hidden with all your data.

8. For unlocking your files just once again double click the file (Tricks VS My Tips.bat) it will ask you to enter your Password now enter the password which you have set while editing the file or just enter “EnterYourPassword”. To open it.

9.   Now the folder will be visible and you can do every thing with your files.

Important Note:
If you are try it for the first time then pleas first create a backup of your files then try this because you may accidentally lose your important data.

Need Help 

Friends if you have need of any kind of help then feel free to ask me by giving me a comment I will give reply to your comments and will give you the best suggestion about your problems.

Support US

My dear visitors if you like my this artcile and want to help me then please share this post with your friends on your favorite social app so that you friends can also enjoy and I can get more visitors. Thanks


How to lock folder
How to set password on file
Set password on files without any software
New method of setting password of file
Hide files by setting up password
How to create password on files without software
Create password on files using notepad


Click Here to Leave a Comment Below 0 comments

Leave a Reply: