Important files are often stored in computers. These files need to be encrypted and can be implemented in many ways. However, if you want to encrypt all the files in a folder, you can do it if the number is small. If the number is large, wouldn't you have to get tired? Therefore, today I want to tell you a good way: encrypt Windows 9x/2000 folders. By encrypting a folder, all files in the folder can be protected. The result is that when you double-click to enter the folder, the system prompts you to enter the password. If the password is correct, it will enter, and the error will be automatically returned to the root directory of the hard disk-very easy to use!
1. Enter the folder you want to encrypt and protect, right-click in the blank area, and select "Custom folder ..." Option;
2. Click "Next", select "Custom", select "select or edit the Html template for this folder" in the "secondary selection" box, and click "Next "();
3. Select "standard" in "select template type", select the "Edit template" option, and click "Next "();
4. Find <script language = "JavaScript"> in the pop-up "Folder" file, and enter the following content at the top of the file:
Var pass = prompt ("enter the password ")
Enter the password as a system prompt.
If (pass! = "123 ")
Replace "123" with your own password
{Window. location = "c :"}
5. Save the "Folder" file and select "complete". The Folder encryption is complete. You can test the file ()!
Because many of the steps above are Windows Script Programming, it has been verified that this method applies to all Windows systems. If you need to remove the protection, you only need to change the "Folder" file back to its original state!
Snow bird tip: the nuances vary depending on the Windows version. For example, in Windows Me, the "Folder" file does not contain the "script language =" JavaScript "" field, only the script is available. The folder wizard is also different. (Csdn)