How to Create a Password Protected Folder

SHARE:

Folder Lock, Password Protected Folder, How to Create a Password Protected Folder

How to Create a Password Protected Folder

Create a Password Protected Folder without any Extra Software

There are a number of techniques for Folder Lock, which you can use to make a password protected folder, most of Folder Lock techniques demands the use of some third party applications. Using this clean method you can hide your folders with a quick batch script.

It’s necessary to note that this will not actually protect your data from someone who knows what you are doing.

Note: if you are a starter you should be careful with this script.

Create Your Password Protected Folder

Before, proceeding this method you need to create a folder that will main folder for your password protected folder, this is just common folder and can be located anywhere and named anything.

How to Create a Password Protected Folder

Enter into your newly created folder and create a new Text Document file. This can easily be done from the help of  following image.


How to Create a Password Protected Folder 2

Open the document, now paste the following code into the contents of the document:


cls 
@ECHO OFF 
title Folder Private 
if EXIST "HTG Locker" 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 "HTG Locker" 
attrib +h +s "HTG Locker" 
echo Folder locked 
goto End 
:UNLOCK 
echo Enter password to unlock folder 
set/p "pass=>" 
if NOT %pass%== PASSWORD_GOES_HERE goto FAIL 
attrib -h -s "HTG Locker" 
ren "HTG Locker" Private 
echo Folder Unlocked successfully 
goto End 
:FAIL 
echo Invalid password 
goto end 
:MDLOCKER 
md Private 
echo Private created successfully 
goto End 
:End

Change the PASSWORD_GOES_HERE text to the password you want to set. Now go ahead and save the file as locker.bat.


How to Create a Password Protected Folder 3

Once the file is saved as a batch file you can delete the original text file.


How to Create a Password Protected Folder 4

Now run your batch file by double clicking on it–the first time you run it, it will create a folder called Private. It is the place where you can store all your important things. When you have complete adding all your data into the Private folder, run locker.bat again.

How to Create a Password Protected Folder 5

This time you will be asked if you sure that you want to lock the folder, press the “Y” key and hit enter to lock your folder.

How to Create a Password Protected Folder 6

You will see that your Private folder quickly disappears.

How to Create a Password Protected Folder 7
If you run the script yet again, you will prompted for a password.


How to Create a Password Protected Folder 8

If you enter the same password as you set in the script the Private folder will reappear if you enter the incorrect password the script will just Terminate.

How to See the Files Again

Most people don’t know how to show system files, but anyone who has some experience will easily be able to quickly figure it out in the Folder Options. To see the files again, all you have to do is un-check the boxes for “Show hidden files, folders, and drives” and un-check the box for “Hide protected operating system files”.


How to Create a Password Protected Folder 9
But any ordinary user who unchecks the box will most probably be scared off by the warning message that appears.



How to Create a Password Protected Folder 10

The 2nd way somebody could encapsulate the folder is to open the batch file and read your password. It’s certainly not a really secure method to hide your files, but it is fun.


Attribution note: We found this script on dozens of different web sites going back many years. We have no idea who first created the script, so we’ve omitted any sort of attribution link. If you do have proof that you first created the script, contact us and we’ll adjust the article accordingly.


If You Forget Your Password

Right-click on the locker.bat file and choose Edit, then you can see the password you set in the file.


How to Create a Password Protected Folder


You can download PDF copy of this article using below link.

 Download PDF Copy

COMMENTS

Name

A Hameed,2,Aanchal Digest,19,Ahadees Books,1,Aleem ul Haq Haqqi,2,Articles,4,Ashfaq Ahmed,3,Aslam Rahi M.A,1,Children Books,1,Computer Books,34,Computer Tips,11,Computing Magazine,22,Dalda Ka Dastarkhwan,1,Devta All Parts,1,Dictionaries,3,English Books,6,English Dictionary,2,Forex Trading,1,General Knowledge Books,1,Global Science Magazine,7,Haalim Episodes,1,Halim Novel Episodes,1,Hashim Nadeem,8,Hasrat Mohani,1,Health,11,Health Books,2,Health News,14,Health Videos,2,Hina Digest,1,Historical Books,3,Historical Novels,2,Iffat Sehar Tahir,1,Imran Series,1,Interesting News,26,Islamic Books,13,IT Books,14,IT Urdu Magazines,9,Jasoosi Digest,1,Khawateen Digest,20,Kiran Digest,1,Languages Learning Books,1,M.A Rahat,1,Maha Malik,1,Masala Magazine,1,Maulana Ahmad Saeed Dehlwi,1,Mazhar Kaleem,1,Mohiuddin Nawab,13,Muhammad Idrees Khan,1,Naseem Hijazi,1,Naye Ufaq Digest,1,Nighat Abdullah,1,Nimra Ahmed,8,Pakeeza Digest,2,Pakistan History Books,1,Poetry,1,Quotes websites,1,Religious Urdu Books,3,Rida Digest,1,Rohani Digest,1,Romantic Urdu Novels,55,Sachi Kahaniyan Digest,1,Sarguzasht Digest,3,Sayara Digest,1,Scientific Books,5,Shadi Books,1,Shayari,1,Shuaa Digest,21,Social Books,3,Sultan Bashir Mahmood,8,Sumaira Hameed,2,Sumaira Sharif Toor,1,Sumera Shareef Toor,1,Sumera Sharif Toor,1,Suspense Digest,3,Syed Wasi Shah,1,Taleem o Tarbiat Magazine,8,Tariq Mehmood Majzoobi,1,Technology News,24,top 10,1,torrent,1,Ubqari Magazine,13,Umera Ahmed,19,Urdu Computer Books,17,Urdu Dictionary,2,Urdu Digest,1,Urdu Health Books,1,Urdu Islamic Books,9,Urdu Novels,63,Urdu Poetry Books,2,Windows 7,5,Windows 8,5,Women Books,1,
ltr
item
Urdu Books and Urdu Novels: How to Create a Password Protected Folder
How to Create a Password Protected Folder
Folder Lock, Password Protected Folder, How to Create a Password Protected Folder
http://3.bp.blogspot.com/-gg6gSZDFl6M/VCvZq9EVxsI/AAAAAAAAAqM/trUPs4H99wU/s1600/How%2Bto%2BCreate%2Ba%2BPassword%2BProtected%2BFolder-1%2C%2Burdusoftbooks.blogspot.com.png
http://3.bp.blogspot.com/-gg6gSZDFl6M/VCvZq9EVxsI/AAAAAAAAAqM/trUPs4H99wU/s72-c/How%2Bto%2BCreate%2Ba%2BPassword%2BProtected%2BFolder-1%2C%2Burdusoftbooks.blogspot.com.png
Urdu Books and Urdu Novels
http://www.urdusoftbooks.com/2014/10/how-to-create-password-protected-folder.html
http://www.urdusoftbooks.com/
http://www.urdusoftbooks.com/
http://www.urdusoftbooks.com/2014/10/how-to-create-password-protected-folder.html
true
5663797177417284559
UTF-8
Loaded All Posts Not found any posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS CONTENT IS PREMIUM Please share to unlock Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy