How to Password Protect a Folder On Windows in hindi
How to Password Protect a Folder On Windows
First, let’s list out the steps for password protecting a folder on Windows. After that. we can talk about them each in more detail.
The steps are as follows:
- Make text folder
- Select password
- Create .bat folder
- Drag and drop your files into the folder
- Lock folder
- Do with the folder what you will
Now let’s talk about each of these in more detail.
- Make text folder
First, you’ll want to open up a fresh, clean notepad folder. In that folder, you’ll want to copy and paste the text below.
cls
@ECHO OFF
title Folder Locker
if EXIST “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}” goto UNLOCK
if NOT EXIST Locker goto MDLOCKER
:CONFIRM
echo Are you sure u 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 Locker “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 folder
set/p “pass=>”
if NOT %pass%==Your-Password-Here goto FAIL
attrib -h -s “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}”
ren “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}” Locker
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDLOCKER
md Locker
echo Locker created successfully
goto End
:End
This text is a type of code which can be used by your computer to create something known as a “.Bat file.
- Select password
As you’ll notice, a small line of text in the code is bolded. This bolded text is where you’ll put your password. You can choose whatever password you want as long as you can remember it. Just replace that bold text with your new password.
- Create .bat folder
This third step is technically a couple of steps mixed together. First, you’ll want to save your text file with the “.bat” extension instead of the traditional “.txt” one. That will create a second file which acts like a computer program. From there, you can delete the original text folder. You’ll want to do this because anyone who knows what they’re doing can open up your text file and find the password to your .bat program.
Once you’ve made the .bat program you can click on it to create a new, lockable folder.
- Drag and drop your files into the folder
This step is more straightforward. Just put all of the files you’re wanting to password protect into the file your .bat program created.
- Lock folder
Once you have all of your files in your folder, double-click on your .bat program again. This will open a black command prompt window with a single line of text. The text will ask you if you want to lock the folder. Type “Y” into the screen and press “Enter” to lock the folder.
- Do with the folder what you will
At this point, you won’t see a locked folder on your screen. All you’ll have is the .bat program. To open the folder again, all you have to do is click on the .bat folder. This will open another command prompt. From there, you type in your password, hit enter, and you have instant access to the files in the locked folder again.
Thank you for helping people get vstfine.com the information they need. Great stuff as usual. Keep up the great work!
ReplyDeleteEaseUS Partition Master Crack