Top Ad unit 728 × 90

How to create a password on a Folder

How to create a password on a folder 

Every one have their some personal data and they want that no one can access their data without your information so you need to password for that folder and i am telling you a simple way to set password on your folder 

Step 1 

Create a folder any where in the Computer  

Step 2 

Double click on it and create a text file 

Step 3 

Change the extension of text file .txt to .bat
and give it to name like secret.bat

Step 4 

Now open it in the notepad file paste the below text

title Folder Private
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST Private goto MDLOCKER
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.
ren Private "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 folder
set/p "pass=>"
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
echo Invalid password
goto end
md Private
echo Private created successfully
goto End


Step 5 

Replace the text in the above script 'ENTER YOUR PASSWORD HERE' with your choice of password. Save the file by left clicking 'File' and selecting 'Save' in Notepad and close the file.

Step 6

 Double click on the password.bat file in the folder and this will create a Private folder. Simply 'copy and paste' the documents/data you want to protect into this Private folder. 

Step 7

 Once you are finished copying/pasting your documents/data into the Private folder double left click the SECERET.BAT file.

Step 8

Now you will get prompted with: “Are You Sure You Want To Lock The Folder
 Y/N” - type Y and hit the enter/return key.

The Private folder will disappear. It is wise to move the secret.bat file to a different location on your computer. open the password.bat file by right clicking it and selecting 'Edit', which will then reveal your password.

Now you will see private folder and double click on it and will find your 

data which is protected by password.


How to create a password on a Folder Reviewed by techratn on 5:20 AM Rating: 5

No comments:

All Rights Reserved by TechRatn © 2014 - 2015
Powered By , Designed by Sunil Kumar

Contact Form


Email *

Message *

Powered by Blogger.