Win10 folder encryption hidden method

  

We use the computer, sometimes do not want others to see the contents of our folder; will set a password for it, and then hide it, so others will see Not the contents of the folder. How to encrypt and hide the Win10 folder? If you don't know how to operate, you can try the following methods.

the following steps:

1, a new text file, the location free, following entries:

cls

@ECHO OFF < Br>

title Folder Private

if EXIST “HTG Locker>goto UNLOCK

if NOT EXIST Private goto MDLOCKER

:CONFIRM

echo Are you sure you want to encrypt the hidden Private 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< Br>

:LOCK

ren Private “HTG Locker”

attrib +h +s “HTG Locker”

echo Folder locked

goto End

:UNLOCK

echo Enter a password to unlock the folder

set/p “pass=””

if NOT %pass %== Set the password 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

2 Replace “set this password” with the password you want to set (note that the space before and after the space is not removed)

3. Save the file as Locker.bat

4. Put the file Copy to the location where you want to hide the file (clip), then double-click to run it once

5. You will find that the file automatically creates a folder named “Private”, which you want Encrypt hidden files (folders) to move to Private

6. Run Locker.bat again, enter Y to confirm that the encryption hides the Private folder, and enter N to abandon the operation

7. If you enter Y,Private folder will be hidden

8. If you want to view the contents of the Private folder, run Locker.bat again, enter the password you set and press Enter

Note, Private When the folder is hidden, it will not lose the hidden effect due to the system setting “Show hidden files, folders and drives”, only when unchecked “Hide protected system files” will be “ld”; Show up & rdquo;.

Especially for friends whose computers are often used by others, you can encrypt the folder and hide it, so it is safe; you can also use third-party software to encrypt the folder. This method is more convenient. of.

Copyright © Windows knowledge All Rights Reserved