How to set password, password for Folder, File on Windows 10 computer

In your  laptop  there are important documents that need to be secure and not let anyone enter. To do this, today I will guide you how to quickly and simply set a password for Folder and File without installing software.

Reasons to set a password for Folder, File on the computer :

  1. Use to protect your own personal data.
  2. Avoid deleting the wrong Folder, File on the computer.
  3. Keep sensitive information confidential.

1. Instructions on how to set a password for Folder, File on the computer

Step 1 : Go to the Folder you want to set a password for> Right-click, select  New  > Select  Text Document .

How to set password, password for Folder, File on Windows 10 computer Picture 1

Step 2 : Copy and paste the code below.

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 "for =>" if% gives% == Y goto LOCK if% gives% == y goto LOCK if% gives% == n goto END if% gives% == 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

How to set password, password for Folder, File on Windows 10 computer Picture 2

Step 3 : In the above code, replace  PASSWORD_GOES_HERE  with the password you want to set.

For example , password is 123.

How to set password, password for Folder, File on Windows 10 computer Picture 3

Step 4 : Go to  File  > Select  Save As .

How to set password, password for Folder, File on Windows 10 computer Picture 4

In the tab  Save as type , you name it  locker.bat  and select  All Files  > Click  Save  to save.

How to set password, password for Folder, File on Windows 10 computer Picture 5

Now you can delete the text file.

How to set password, password for Folder, File on Windows 10 computer Picture 6

Step 5 : Click on the locker file   to open, at this time a new folder will appear called  Private . This is the place to store the files that you want to secure.

How to set password, password for Folder, File on Windows 10 computer Picture 7

Step 6 : After finishing copying data via  Private  > Click on  locker file  > A dialog box appears and you just need to press " Y " key > Press  ENTER .

How to set password, password for Folder, File on Windows 10 computer Picture 8

Once done, the Private folder will disappear. Your data is protected.

How to set password, password for Folder, File on Windows 10 computer Picture 9

Step 7 : To reappear the  Private dialog box,  you just need to double-click and  locker  file >  Enter the password  you set up from the beginning> Press  ENTER .

How to set password, password for Folder, File on Windows 10 computer Picture 10

Instructions on how to review Folder, File

Step 1 : In Folder, File, click  View  > Select  Options .

How to set password, password for Folder, File on Windows 10 computer Picture 11

Step 2 : In the View tab   > Select  Show hidden files, folders, and drives  > Uncheck  Hide protecte d operating system files OK .

How to set password, password for Folder, File on Windows 10 computer Picture 12

Once done, your Folder will appear.

How to set password, password for Folder, File on Windows 10 computer Picture 13

3. Instructions on how to change key password for Folder, File

Step 1 : Right-click the locker file and choose  Edit .

How to set password, password for Folder, File on Windows 10 computer Picture 14

Step 2 : Text dialog box appears> Delete old password and install a new one.

How to set password, password for Folder, File on Windows 10 computer Picture 15

Step 3 : Save it by going to  File  > Select  Save As  >  In the Save as type tab,   name it  locker.bat  and select  All Files  > Click  Save .

The above article has shown you how to set a password, password for folders, files on Windows 10 computer simply and quickly. I wish you all success!

4.2 ★ | 5 Vote

May be interested

  • How to turn off (or enable) Xbox Game Bar on Windows 10Photo of How to turn off (or enable) Xbox Game Bar on Windows 10
    xbox game bar is a great support tool that microsoft equips with windows 10. it contains a series of important tools and utilities that make the process of using windows 10 in general and playing games in particular become simpler. as well as contributing to improving user experience on the platform.
  • How to keep Calculator floating above Windows 10 appsPhoto of How to keep Calculator floating above Windows 10 apps
    windows 10 comes with a handy calculator app. it can solve equations, plot graphs, calculate data, and even convert currencies.
  • How to use the RAM drive in Windows 10Photo of How to use the RAM drive in Windows 10
    a ram drive is a hard drive made up of ram in a computer. it cannot store data permanently but is extremely fast. if you want to give it a try, you can create a ram drive with free software and don't need to upgrade your computer.
  • Top 10 most beautiful Windows 10 themesPhoto of Top 10 most beautiful Windows 10 themes
    top 10 most beautiful windows themes synthesized on deviantart. when installing themes (themes) for windows 10, your computer screen will be equipped with a beautiful and impressive decoration.
  • Instructions to fix MBR errors on Windows 10Photo of Instructions to fix MBR errors on Windows 10
    the manifestation of the mbr error is that windows starts with a black screen, the message 'mbr error' with the value 1, 2 or 3, there are also cases where you see the words 'windows failed to start'.
  • 6 tools to help fix errors on Windows 10 provided by MicrosoftPhoto of 6 tools to help fix errors on Windows 10 provided by Microsoft
    share 6 tools to help fix and fix errors on windows 10 provided by microsoft itself. tools to fix windows store, windows update, error when installing printer ..