In the Windows 95 era, Microsoft has built a function called "Auto Play" in Windows, which can be translated into "Auto Play" or "Auto execute" in Chinese ". In 1995 at that time, the main purpose of this function was to "automatically execute the correct corresponding function after the optical disk is put into the computer". That's simple.
Unexpectedly, this is the beginning of today's "Nightmare!
I don't know if Microsoft will regret adding this automatic feature to Windows, but I personally think this feature is not needed. However, since it is already one of the built-in functions of Windows, what else can you do? In addition to accepting it, you just try to face it, understand it, and process it.
So in this article, let's take a closer look at the relationship between "automatic playback", "storage media virus protection", and Windows 7! Okay! In fact, all versions of Windows also apply to the principles introduced in this issue .)
There are too many types of discs.
When Windows 95 was published, USB may already exist, but it is not yet popular. Most of the optical disks are read-only. However, there are many types of optical disks, which may cause operation burden on users. So let's take a look at the possible types of optical disks:
Pure music CD
Enhanced CD, also known as CD Extra or CD Plus. The front is the music CD and the back is the information. This type of CD can be played in normal audios, however, the last track information can be recognized by the computer)
Mixed Mode CD. This type of CD is quite common in the early days. The front is the data, and the back is the audio track. It is mainly used by computer games. Because there was background music in the game at that time, playing audio tracks during the game allowed the players to enjoy better sound quality.
Most of the pure data discs, software installation discs, or game discs belong to this category.
Because there are too many types of discs, there are sometimes a large number of files on the disc, and the user puts the disc into the computer and will stay away. "What are you going to do next ?" Therefore, Microsoft has introduced the automatic playback function since Windows 95. If you place a pure music CD, the Windows system will automatically call the music player to play it. If other types of discs are put in, Microsoft sets a standard, as long as the manufacturer writes "what to do after the discs are put into the computer" in the file, after the user puts the disc into his own optical disc machine, the disc will perform a series of actions based on the definition of the text file, usually by installing software or playing games ).
This text file is called "Autorun. inf ".
Great and horrible Autorun. inf
Microsoft said, "As long as you follow the specifications and put the CD into the optical drive, you can clearly write what you want to do." Haha, this is really great. The user no longer needs to worry about how to use the optical disc, as long as it is put into the optical drive, it will be okay.
Program ).
If you are interested in this, there is a lot of information on the network that will teach you to process the Autorun. inf of various types of data disks, so that you can enable the disc files in the best way. For example, although the preceding "open =" command is easy to use, it may not be able to be correctly executed in case of text files or webpages. But sometimes your CD simply needs to open a file to the user rather than execute any program. At this time, the "ShellExecute =" command may be more suitable.
However, Autorun. the inf file writing method is not a topic we will discuss. I want you to save yourself, as long as you know, "Windows will follow the Autorun. inf command to run the specified program ".
However, in this case, the words that I see from the game are:
"Hell opens its gate !" The hero line passes through the animated narration), and the door to hell is opened!
Autorun. inf can be killed by humans
"Is it so serious ?"
It's just a small automatic execution. Is that exaggerated?
Alas, the times are different. It should have been nothing serious. Now it's all serious, and the problem is definitely not small.
In the past, the purpose of the Autorun. inf file was to "automatically execute certain files or functions on the" disc ". However, the media on the disc cannot easily write data. Even if you calculate the CD-RW, it is still not very convenient to add files, so the automatic execution of the function in the disc on the problem is always not big, at most is each time put the disc into the disc machine, I often have to run for half a day because I have to execute setup and other functions each time, but the software or game is actually installed ).
However, many people, including me, used to do the same. I do not know that Autorun. inf is not only useful on a CD, but also on a hard disk or USB portable disk.
That is to say, after you insert the portable disk, Windows XP/Vista/7) will check whether there is Autorun. inf on the portable disk, and then execute the function as described above.
If you are a master or the portable disk is designed, this function is not bad. For example, if you have a briefing file on your portable disk, the briefing file will be automatically played as soon as someone else's computer is inserted. That's cool! From this point of view, it is certainly good, but it is a pity that we do not like it, we usually get the anti-effect-virus experts use this feature to spread a variety of terrible viruses.
Typical USB viruses write hidden Autorun on other USB portable disks. inf, and then use Autorun. inf to execute the hidden virus body is usually a weird executable file), as long as you insert this toxic portable disk into your computer, you may not even know it. Chinamoocs's computer has since become a base camp for Tibetan drugs. After "Healthy portable disk" is inserted into this computer, it will also be infected with viruses.
This is what we call "extremely toxic" and "extremely toxic!