


How to implement simple and easy encryption of folders with JavaScript_javascript skills
So, today I am going to tell you a good way: encrypt Windows 9x/2000 folders. By encrypting a folder, all files in the folder can be protected. Its working effect is that when you double-click to enter the folder, the system prompts you to enter the password. If it is correct, you will enter, if it is wrong, it will automatically return 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 space and select the "Custom Folder..." option;
2. Click "Next" "Select "Customize" and select "Select or edit the Html template of this folder" in the sub-select box, click "Next" (Figure 1);
3. Select the template Select "Standard" as the type, select the "Edit this template" option, and click "Next" (Figure 2);
4. Find
var pass = prompt("Please enter password")
The “Please enter password” here is the system prompt
if(pass != "123")
Replace “123” with your own password
{window.location="c:"}
5. After saving the "Folder" file, select Done. The folder encryption is completed and you can test it (Figure 3)!
Since many of the steps just now are Windows script programming, it has been verified that this method is applicable to all Windows systems. If you need to remove the protection, just modify the "Folder" file back to its original state!
Snowbird Tips: Due to different Windows versions, subtle differences will occur. For example, in Windows Me, there is no

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics



When you find that one or more items in your sync folder do not match the error message in Outlook, it may be because you updated or canceled meeting items. In this case, you will see an error message saying that your local version of the data conflicts with the remote copy. This situation usually happens in Outlook desktop application. One or more items in the folder you synced do not match. To resolve the conflict, open the projects and try the operation again. Fix One or more items in synced folders do not match Outlook error In Outlook desktop version, you may encounter issues when local calendar items conflict with the server copy. Fortunately, though, there are some simple ways to help

When using the win10 system, many people are worried about the leakage of confidential files in the computer. In fact, users only need to use the win10 folder password protection function to solve this problem. Today, the editor will help you enable this function. How to set password protection for win10 folders 1. First, you need to select the folder you want to encrypt, right-click the folder, and click Properties in the pop-up option bar. 2. In the properties interface, click Advanced Options in the lower right corner. 3. Enter the advanced properties interface, select the check box before encrypting content to protect data, and then click OK. 4. Then the system will automatically pop up the confirmation attribute change interface, click OK in the interface. 5. In this way, the password protection has been successfully set up, and there will be no impact when using the original account.

The Windows folder contains the Windows operating system and is an important folder in a Windows computer. By default, Windows is installed on the C drive. Therefore, C is the default directory for Windows folders. Every Windows computer has a Windows folder. However, some users reported that two Windows folders were found in the C drive. In this article, we will explain what you can do if you encounter such a situation. Two Windows folders in C drive It is rare to have two Windows folders in C drive. However, if you encounter such a situation, you can use the following suggestions: Run an anti-malware scan to try to find the correct

In daily life and work, we often need to share files and folders between different devices. Windows 11 system provides convenient built-in folder sharing functions, allowing us to easily and safely share the content we need with others within the same network while protecting the privacy of personal files. This feature makes file sharing simple and efficient without worrying about leaking private information. Through the folder sharing function of Windows 11 system, we can cooperate, communicate and collaborate more conveniently, improving work efficiency and life convenience. In order to successfully configure a shared folder, we first need to meet the following conditions: All devices (participating in sharing) are connected to the same network. Enable Network Discovery and configure sharing. Know the target device

Title: Realme Phone Beginner’s Guide: How to Create Folders on Realme Phone? In today's society, mobile phones have become an indispensable tool in people's lives. As a popular smartphone brand, Realme Phone is loved by users for its simple and practical operating system. In the process of using Realme phones, many people may encounter situations where they need to organize files and applications on their phones, and creating folders is an effective way. This article will introduce how to create folders on Realme phones to help users better manage their phone content. No.

Changing folder icons or colors in Ubuntu can not only improve file management efficiency, but also make folders easier to identify. You can select the corresponding icon based on a folder's content category, such as music, documents, and pictures, to make it easier to distinguish and find the folder you want. Ubuntu supports using common PNG, JPG or SVG format images as folder icons. Websites like IconArchive, Iconfinder, and Flaticon offer many beautiful folder icons and themes for Linux. Customize Ubuntu Folder Icons and Colors Changing Ubuntu Folder Icons Changing folder icons in Ubuntu is easy, in just a few simple steps you are

In Apple mobile phones, users can encrypt photo albums according to their own needs. Some users don't know how to set it up. You can add the pictures that need to be encrypted to the memo, and then lock the memo. Next, the editor will introduce the method of setting up the encryption of mobile photo albums for users. Interested users, come and take a look! Apple mobile phone tutorial How to set up iPhone photo album encryption A: After adding the pictures that need to be encrypted to the memo, go to lock the memo for detailed introduction: 1. Enter the photo album, select the picture that needs to be encrypted, and then click [Add to] below. 2. Select [Add to Notes]. 3. Enter the memo, find the memo you just created, enter it, and click the [Send] icon in the upper right corner. 4. Click [Lock Device] below

Some users reported that local folders did not respond and could not be opened when double-clicking the folder. This situation may be caused by a system error or a corrupted folder. Solutions include checking for system updates, scanning for disk errors, restarting Explorer, etc. If the issue is still not resolved, you can try to resolve it by recreating the user account or using a system restore. Solution: 1. Right-click "Start" in the taskbar in the lower left corner and select "Computer Management" in the option list. 2. After entering the new interface, click "Services" in "Services and Applications" on the left column. 3. Then find the "Windows" on the right
