How to Create a Password Protected Folder

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

WRITE FOR US

Name

A Hameed,2,Aanchal Digest,43,Ahadees Books,1,Aleem ul Haq Haqqi,2,Areej Shah Novels,1,Army Jobs,1,Articles,159,Ashfaq Ahmed,3,Aslam Rahi M.A,1,Automobiles,3,Autos,5,Business,109,Casino,11,CBD,9,Celebrities,1,Children Books,1,Computer Books,32,Computer Tips,11,Computing Magazine,22,Creative Design; Business,1,Crypto,65,Dalda Ka Dastarkhwan,1,Darr Digest,7,Devta All Parts,1,Dictionaries,3,Digest,1,Digital Marketing,18,Dosheeza Digest,1,Ecommerce,3,Education,3,English Books,8,English Dictionary,2,Entertainment,11,Essay Writing,12,FIA Jobs,1,Finance,16,Fintech,4,Food,1,Forex Trading,4,Gaming,51,General Knowledge Books,1,Global Science Magazine,7,Haalim Episodes,1,Halim Novel Episodes,1,Hashim Nadeem,8,Hasrat Mohani,1,Health,62,Health Books,2,Health News,28,Health Videos,2,Hijab Digest,17,Hina Digest,20,Historical Books,3,Historical Novels,2,Home Decoration,8,Home Improvements,13,How To,23,Iffat Sehar Tahir,1,Imran Series,6,Insurance,10,Interesting News,36,Internet,3,Islamic Books,14,IT Books,9,IT Urdu Magazines,9,Jasoosi Digest,22,Job Advertisements,8,Jobs,8,Khawateen Digest,46,Kiran Digest,20,Languages Learning Books,1,Law,10,Legal,4,Lifestyle,10,M.A Rahat,1,Maha Malik,1,Marketing,8,Masala Magazine,1,Maulana Ahmad Saeed Dehlwi,1,Mazhar Kaleem,5,Mehwish Ali Novels,1,Mohiuddin Nawab,13,Muhammad Idrees Khan,1,Naseem Hijazi,1,Naye Ufaq Digest,10,News,23,Nighat Abdullah,1,Nimra Ahmed,12,Pakeeza Digest,19,Pakistan History Books,1,Personal Computer,13,Personal Development,4,Poetry,1,Poetry Books,2,Psychology,9,Quotes websites,1,Real Estate,8,Religious Urdu Books,3,Reviews,10,Rida Digest,3,Rohani Digest,1,Romantic Urdu Novels,53,Sachi Kahaniyan Digest,10,Sadia Abid,1,Saheena Chanda Mehtab,1,Sarguzasht Digest,23,Sayara Digest,3,Scientific Books,5,SEO,23,Shadi Books,1,Shayari,1,Shuaa Digest,44,Smartphones,26,Social Books,3,Software,11,Sports,2,Sultan Bashir Mahmood,8,Sumaira Hameed,2,Sumaira Sharif Toor,1,Sumera Shareef Toor,1,Sumera Sharif Toor,1,Suspense Digest,25,Syed Wasi Shah,1,Taleem o Tarbiat Magazine,8,Tariq Mehmood Majzoobi,1,Technology,102,Technology News,32,Telecom Jobs,1,top 10,1,Traveling,2,Trending,3,Tutorials,1,Ubqari Magazine,23,Umera Ahmed,19,Urdu Articles,2,Urdu Computer Books,5,Urdu Dictionary,2,Urdu Digest,3,Urdu Health Books,1,Urdu Islamic Books,10,Urdu Novels,78,Ushna Kausar Sardar,1,Wallpapers,1,Windows,1,Women Books,1,บ่อนคาสิโน,1,
ltr
item
Urdu Soft Books: Well-researched and Best Quality Trending Articles | Famous Urdu Books and 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
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEidiBH5fp0bdACDRXo1RHiHvLe-QiXbqFqf8JB9f600yKhuOyKiM7NQz8KGueC89bcbFYYsyWXS7ODf9yVLezjeFdgKMp_hZG-pF1QVuxVheyKVgHnpY808uzbUa2-y7wQ9GstmPrRW7C22/s1600/How+to+Create+a+Password+Protected+Folder-1,+urdusoftbooks.blogspot.com.png
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEidiBH5fp0bdACDRXo1RHiHvLe-QiXbqFqf8JB9f600yKhuOyKiM7NQz8KGueC89bcbFYYsyWXS7ODf9yVLezjeFdgKMp_hZG-pF1QVuxVheyKVgHnpY808uzbUa2-y7wQ9GstmPrRW7C22/s72-c/How+to+Create+a+Password+Protected+Folder-1,+urdusoftbooks.blogspot.com.png
Urdu Soft Books: Well-researched and Best Quality Trending Articles | Famous Urdu Books and Novels
https://www.urdusoftbooks.com/2014/10/how-to-create-password-protected-folder.html
https://www.urdusoftbooks.com/
https://www.urdusoftbooks.com/
https://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 PREMIUM CONTENT IS LOCKED STEP 1: Share to a social network STEP 2: Click the link on your social network 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 Table of Content