-->
Saturday , September 22 2018
Home / Articles / How to Lock Folder with Password without Software

How to Lock Folder with Password without Software

How to Lock Folder with Password without Software

In this article of How to Lock Folder with Password without Software i will you very easy to protect folder with password without using software.

There are number of third-party programs or software which are use to protect your folder with password.

For that you have to download and then install them on your PC/Laptop which is a time & space consuming process.

These software’s also decrease your PC/Laptop performance and speed.

So i am going to tell you very easy way to protect folder with password without using any software.

Steps of “How to Lock Folder with Password without Software” :

1st Step : First create a “New Folder” and named it.

Lock Folder with Password without Software 1

Lock Folder with Password without Software 2

2nd Step : After that open that folder, right-click on a blank area and then select “Text Document” from the pop-up menu of New.

Lock Folder with Password without Software 3

3rd Step : Now open that “Text File” you just created and then paste the following below mention script code in it.

Script Code :

@ECHO OFF
if EXIST “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}” goto UNLOCK
if NOT EXIST Private goto MDPrivate
: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 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 Your Secure Folder
set/p “pass=>”
if NOT %pass%== Writeyourpasswordhere 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
:MDPrivate
md Private
echo Private created successfully
goto End
:End

Lock Folder with Password without Software 4

Note : Replace “Writeyourpasswordhere” with the password you want to use to unlock.

Lock Folder with Password without Software 5

4th Step : Now “Save As” that file in the “.bat” format with the complete file name.

Lock Folder with Password without Software 6

Like “filename.bat” and hit “Save” button.
Also make sure to change the Save as type: to All Files (*.*).

Lock Folder with Password without Software 7

Once saved, your file should look like this in the folder you choose.

Lock Folder with Password without Software 8
Now you can delete that “New Text Document” file from which you created “.bat” file.

Lock Folder with Password without Software 9

5th Step : Now double-click on the “Batch file” you just created and you will see a new folder come up named “Private“.

Lock Folder with Password without Software 10

In this “Private” folder you can put your personal data or anything you want.

6th Step : Once you are ready to lock the folder, just simply double-click on the batch file, then choose ‘y’ on the window that pops up and hit Enter.

Lock Folder with Password without Software 11

This will hide that Private folder.

7th Step : To access your private folder, just double-click on “Batch file” and write password to unlock it.

Lock Folder with Password without Software 12

Lock Folder with Password without Software 13

To re-lock or hide the private folder again, just double-click on the “Batch File” and choose “y” to re-lock it.

Through this simple way you can make password protected folder.

Other Useful Articles Are :

1 > How to Delete Browsing History in Google Chrome Permanently

2 > How to Download Video from any Website Online for Free

3 > How To View Hidden Facebook Photos Of Anyone

 

About Imran Abbasi

Check Also

How To Create A Free Blog On Blogger

How To Create A Free Blog On Blogger In this article of “How To Create …

Leave a Reply

Your email address will not be published. Required fields are marked *

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