Published: 2004-12-30 20:59:28 Author: Wen/Ah Xiong Font:Large Medium Small Print this page
Entertainment/funny/sports video free to watch! MMS/SMS development platform Free test your IT potential! Meping bath, catering management system
Do you remember the famous "Happy Hour" virus? Infected with the virus on the hard disk will have more than one Desktop.ini and Folder.htt files, even if you delete the directory of these two files, when you open the directory again, they appear like a ghost.
Let me ask you another question related to this: what is the most duplicate file in Windows? The answer is the Desktop.ini file! This file is found in the Windows directory and the Favorites, System, Fonts, Tasks folders under it! It is the presence of this file that makes them different from ordinary folders in appearance or otherwise as well. Below I will talk about some of the marvelous uses of these two files.
One, add a password to the folder
In the school's computer room and campus network management, whether it is often encountered in this case: some computers are often mistakenly deleted by students in the Windows directory or SYSTEM directory of some of the system files can not be caused by the normal startup. Is there a way to protect Windows and other important directories? There is a way, we just need to make the necessary changes in this Folder.htt file, you can change the way the folder is opened. For example, to open the folder before the security certification, you can modify this Folder.htt.
In the Windows folder in the C disk to find Folder.htt file (the file for the hidden files, and later edited with the author *** with the verification of the file of different system content is not the same in this paper kind of main Windows 98), open the Folder.htt file. Find the following content:
Show file." ;
Change this to:
onBlur=' ShowWinStat(winStat); return true;'>Enter password
(2) find function ShowFiles() {
Info.innerHTML = L_Intro_Text + "<br><br>" + L_Prompt_Text;
showFiles = true;
document .all.FileList.style.display = "";
document.all.Brand.style.display = "none";
FixSize();
}
Modified to: ★function ShowFiles()
{var password=prompt("Please enter your password:","");
if (password=="Your password"){Info.innerHTML = L_Intro_Text + "<br><br>" + L_Prompt_ Text;
showFiles = true;
document.all.FileList.style.display = "";
document.all.Brand.style.display = "none";
FixSize(); }
else{alert("Warning, wrong password! You are not authorized to browse this directory");}}
(3) Save the modified Folder.htt file and exit the Windows folder.
After completing the above steps, when you enter the Windows directory again, you are prompted to enter a password, and only if you enter the correct password can you proceed to the directory. By modifying the code that opens the behavior, you can achieve a simple encryption of a directory.
Of course, this kind of encrypted directory is easy to unlock: opening the folder without using the Web, avoiding the execution of the program, or accessing the folder directly from DOS can bypass the entry of the password.