Just In
- 4 hrs ago Samsung Galaxy A55 vs Galaxy S23 FE: The Battle of Samsung’s Premium Mid-rangers!
- 6 hrs ago IPL 2024: How to Get Free Indian Premier League Stickers on JioCinema
- 6 hrs ago How to Remove Stubborn Holi Color Stains from Your Phone Like a Pro
- 8 hrs ago Happy Holi 2024 Wishes: How to Download Holi Stickers on WhatsApp and Send to Friends & Family
Don't Miss
- News Lalu Yadav's Daughters Rohini Acharya And Misa Bharti Eye Lok Sabha Seats
- Movies Holi 2024: 6 Tracks For Your Ultimate Holi Playlist
- Sports IPL 2024: Google posts special Welcome Message for returning Rishabh Pant vs Punjab, Wins Hearts
- Finance DGCA Slaps Air India with Rs 80 Lakh Fine for FDTL Violations
- Travel Learn About the Types of US Visas Available for Indian Immigrants and the Visa Process
- Lifestyle Delhi Metro Holi Update: Planning To Travel On Holi Via Metro? Know The Special Timings, Schedule
- Education UPSC ESIC Nursing Officer Recruitment 2024; Apply Online for 1930 Posts, Know more
- Automobiles Hyundai India's Dry Wash Service Contributes To Significant Water Conservation
Here's How To Lock A Folder On Windows 10
Corporate espionage or a jealous spouse isn't the only driving factor behind what's driving users crazier than usual about digital security, the knowledge that someone might be privy to your private information is something that can make anyone cringe. Important documents and private data that you wish to keep private are not things users might feel comfortable to just leave lying around in your computer where anyone will be able to access it.
There are always files and folders which you might want to keep away from prying eyes. Although Windows doesn't give you a straightforward way to lock a specific folder by default. We do have the option of encrypting a folder or a file but there is no straightforward way you can it with a password. Resorting to a third-party applications might slow your system down with malware. But a little bit of work can help you password-protect your folder without relying on third-party applications.
Step 1: Create a new folder on your drive. This will be the location where you will store your private pictures and folders.
Step 2: After doing this, you will need to open notepad and copy the code given below into it.
@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%== PASSWORD-HEREgoto 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
Step 3: Replace the option called 'PASSWORD HERE' with the password that you wish to assign for your folder and then go to File > Save As > and then change the file extension to .bat from .txt and then choose 'All Files' in the save as type drop down menu. You can save the file as whatever you want.
Step 4: Now double click on the .bat file you have just created and you will notice a new folder has appeared, this name will be named 'Private' and this is where all the files and folders will be saved.
Step 5: Double-click the .bat file once again and a CMD prompt will ask you whether you want to lock your folder or not. If you wish to lock your folder, you will have to type in Y meaning yes and if you do not want to lock your folder, you will have to type N meaning No.
Step 6: Once it has been locked, the folder named 'Private' will have disappeared. In order to access the folder again, all you need to do is double click the .bat file and enter the set password.
-
99,999
-
1,29,999
-
69,999
-
41,999
-
64,999
-
99,999
-
29,999
-
63,999
-
39,999
-
1,56,900
-
1,39,900
-
1,29,900
-
79,900
-
65,900
-
12,999
-
96,949
-
16,499
-
38,999
-
49,999
-
30,700
-
8,999
-
36,999
-
38,999
-
1,17,840
-
35,000
-
23,960
-
82,510
-
16,258
-
25,999
-
26,999