1. First create a folder and name it "Hidden files";
2, then open the folder Then, right-click in the blank space of the window and select the “New → Text Document” command to create a text file;
3. Copy the following code into the newly created text file:
cls
@ECHO OFF
title Folder Private
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST Private goto MDLOCKER
:CONFIRM
Echo Are you sure you 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 Priv Ate "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%== PASSWORD_GOES_HERE goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Private
echo Folder Unlocked successfully
goto End
:FAIL< Br>
echo Invalid password
goto end
:MDLOCKER
md Private
echo Private created successfully
goto End
:End
4, in the above code, replace the "PASSWORD_GOES_HERE" with the password you want, for example: with 12345, the final effect is: if NOT %pass%= = 12345 goto F AIL;
5, then save the text file as .bat format, the file name can be set to “locker.bat”, reminder, save type is set to “ all files & rdquo; can be saved successfully; >
6. Then double-click the “locker.bat” file to create a folder named “Private” in the “Hidden Files” folder. You can place any files you need to hide into the file. Clip;
7. Double-click the “Locker.bat” file again to make the contents of the “Private” folder disappear. Enter “"Y" in the command prompt window that appears, press Enter; At this time, we found that the folder is invisible;
8, but we can click on the "Organize → File and Search Options" command in the Explorer to open the "Folder Options" window. Switch to the “View” tab, remove the "Hide Protected Operating System Files" option, select “Show hidden files, folders and drives>, make sure to leave “Private&rdquo The folder appears, at this time, the "Private" folder becomes the "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}” folder, which is obviously a hidden folder of the system. .
9. If you need to unlock this folder, just double click on the “locker.bat” file. Enter the password at the command prompt that pops up.
About how to create a folder with password hiding under Win7 system to protect personal privacy files to share with you here, this method to protect personal privacy files is still very good, interested friends can try it for themselves Let's go.
The specific operation method is as follows: 1. We use our own mouse to click the computer icon on
Do you want your express train or Thunder to download movies, but also save power? Maybe you will sa
when the win7 system is used After downloading the w764 Ultimate system, there will be many ways to
Step 1. First check whether the icon of the speaker can be found in the lower right corner of your t
Causes and solutions for Windows 7 suspended animation
How to turn off Win7 automatic update restart prompt
Let the Win7 computer boot faster. Reduce the system startup item
Win7 notebook wireless connection wlan autoconfig service can not start how to do
How to get file management ownership in Windows
How to perfect the picture display preview of win7 system
Solve win7 open file prompts Windows can not open this file
5 common faults and solutions under Windows 7 system
What should I do if the Win7 hard disk has bad sectors?
Win7 built-in game for no reason to lose
How to use QQ music web version? QQ music web player online songs
Win7 system can not open the suffix named caj file how to do?
Win7 system opens multiple browser windows, how to do overlap
Microsoft showcases "smart mirror" with facial recognition to display weather and other information
IE8 auto-complete function setting trick under Windows 7
Win7 system accidentally close the download window and cause the program to disappear. How to do
How does Win8 open the Internet option?
Graphic details of Win8 family security new features
Win7 using IE will always pop up "ocget.dll security tips" What should I do?