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:

  1. Make text folder
  2. Select password
  3. Create .bat folder
  4. Drag and drop your files into the folder
  5. Lock folder
  6. Do with the folder what you will

Now let’s talk about each of these in more detail.

  1. 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.

  1. 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.

  1. 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.

  1. 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.

  1. 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.

  1. 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.

Comments

  1. Thank you for helping people get vstfine.com the information they need. Great stuff as usual. Keep up the great work!
    EaseUS Partition Master Crack

    ReplyDelete

Post a Comment

Popular Posts