Hide for Win7/win8.1/win10 folder encryption

Source: Internet
Author: User
Tags goto

The privacy of computer files has always been the focus of many users, especially their computers are often used by others friends. It may be convenient to use Third-party software for folder encryption, but it is even more perfect if you can accomplish this task without the help of "external forces".

This article is to introduce this method, this method is suitable for win7/win8.1/win10 system.

The specific steps are as follows:

1, create a new text file, the location at random, enter the following content:

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

: LOCK

ren Private "HTG Locker"

attrib +h +s "HTG Locker"

Echo Folder Locked

Goto END

: UNLOCK

Echo enters a password to unlock the folder

set/p "Pass=>"

If not%pass%== this setting password 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, "Set password here" to replace the password you want to set (note before and after the space do not remove)

3. Save the file as Locker.bat

4, copy the file to the location where you want to hide the file (folder), and then double-click to run once

5, you will find that the file automatically created a folder called "Private", at this time you want to encrypt the hidden file (folder) moved to Private

6, run Locker.bat again, input y on behalf of you confirm encryption hidden private folder, input n abort operation

7, if the input Y,private folder will be hidden

8, at this point if you want to view the contents of private folders, run Locker.bat again, enter your password set after the return

Note that private folders do not lose their hidden effects when they are hidden, but will not appear until you uncheck "Hide protected system files" when they are not set up to display hidden files, folders, and drives.

  It home computer file privacy issues have been a lot of users focus, especially their own computers are often used by others friends.   It may be convenient to use Third-party software for folder encryption, but it is even more perfect if you can accomplish this task without the help of "external forces".   This article is to introduce this method, this method is suitable for win7/win8.1/win10 system. The specific steps are as follows: 1. Create a new text file, position at random, enter the following: CLS @ECHO off title Folder Private if EXIST "HTG Locker" goto UNLOCK if not EX IST 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 E   Cho Invalid choice. Goto Confirm:lock ren Private "HTG Locker" attrib +h +s "HTG Locker" echo Folder locked goto end:unlock EC Ho Enter password to unlock folder set/p "pass=>" if not%pass%== here Set password goto FAIL attrib-h-S "HTG Locker" ren "HTG Locker" privat E echo Folder unlocked successfully goto end:fail echo Invalid password goto end:mdlocker MD Private Ech o Private created successfully goto End:end 2, replace "This set password" with the password you want to set (note before and after the space do not remove) 3, save the file as Locker.bat 4, copy the file to you want to hide The location of the file (folder), and then double-click Run Once 5, you will find that the file automatically created a named "PrivAte "folder, at this time you want to encrypt the hidden file (folder) moved to private 6, run Locker.bat again, input y on behalf of you to confirm the encryption hidden private folder, input n give up operation 7, if the input Y,private folder will be hidden 8, At this point if you want to see private folder content, run Locker.bat again, enter the password you set after the return note, private folder in hiding also will not because the system set "Show hidden files, folders and drives" and loss of hidden effects, only in the cancellation of the check " "Show up" when you hide protected system files.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.