Learn how to password protect a file under Windows 10



[ad_1]

We all have files on our computers that we want to keep confidential, but everyone does not know how to protect the password of a folder in Windows 10. On Windows 10, you can do it without having to buy from additional software, and here's how to protect it with a password, according to the technical site "Laptop".

1. Right-click the folder where the files you want to protect are located (the folder you want to hide may be on your desktop).

2. Select the "New" option from the drop-down menu.

3. Click Text Document.

4. Assign a label to the document.

5. Double-click on the new text file to open it.

6. Paste the text below into the new document:

cls

@ECHO OFF

Title Folder Locker

if EXIST "Control Panel. {21EC2020-3AEA-1069-A2DD-08002B30309D}" go to unlock

if NOT EXIST Locker goto MDLOCKER

: TO CONFIRM

echo Are you sure you want to lock the folder (Y / N)

set / p "cho =>"

if% cho% == you have LOCKED

if% cho% == you have LOCKED

if% cho% == n goes to 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 Locked folder

go to the end

: Unlock

echo Enter the password in the unlock folder

set / p "pass =>"

if NOT% passes% == Your-password-here goes to FAIL

attrib -h -s "Control Panel. {21EC2020-3AEA-1069-A2DD-08002B30309D}"

ren "Control Panel. {21EC2020-3AEA-1069-A2DD-08002B30309D}" Locker

echo Folder successfully unblocked

go to the end

Location: FAIL

echo Invalid password

go to the end

: MDLOCKER

locker

echo Locker successfully created

go to the end

: End

7. Look for the line labeled "Your password here" in the document.

8. Replace "Your password here" with the password with which you want to lock the folder.

9. Click on the file at the top left.

10. "Select Save As …"

11. Click the "Text Documents (* .txt)" menu bar next to "Save As Type:".

12. Select the option "All files"

13. Change the file name to "FolderLocker.bat"

14. Click Save.

15. Double-click FolderLocker.

Now the Locker folder has been created!

16. Fill in the Locker folder with the items you want to protect.

17. Open the FolderLocker file.

18. Type "Y" in the window that appears.

19. Click Enter and the Locker Folder window will disappear, next to the Locker folder itself! Your secrets are now safe!

To unlock the folder, double-click "FolderLocker" to open it.

Enter the password you entered in step 8 and click Enter.

Repeat steps 17, 18, and 19 to lock the folder again.

This article "Learn how to protect a file with a password under Windows 10", adapted from the site (Al-Nahar Egyptian), and does not reflect in any way the site's policy or point of view, but the responsibility of the site. 39 Actuality or its accuracy relies on the source of the actuality of origin is the day of Egypt.

[ad_2]
Source link