The quick reply is backward compatibility. We all know that in an organization like Microsoft it’s generally not possible to eliminate one thing, and it’s because top-of-the-line components of Home windows is usually additionally its drag: the truth that the system continues to help software program and gadgets as outdated as these from the period of MS-DOS or Home windows 3.1, even as we speak.
Home windows 10 has some options that as we speak will be thought of a bug, “bugs” that haven’t been “resolved” for greater than 40 years as a result of they had been truly intentional in a time when issues labored in a different way. That is what occurs while you attempt to title any file in Home windows with phrases like “CON”, “LPT1”, “PRN”, “NUL” or “AUX”. Not potential by design.
The forbidden phrases
You’ll be able to strive for your self proper now, attempt to create a folder or textual content doc, and even rename a picture to one thing like CON.png or AUX.txt. Home windows 10 provides you with an error message asking you to alter the title and that the system title is invalid.
However what system? Within the age of MS-DOS (Microsoft’s model of DOS) within the 80’s, computer systems had been a black display with textual content and nothing else. So every little thing labored by writing orders. For a program to work together with different issues, comparable to a printer, a command needed to be written utilizing a textual content file or “system file” that will work together with a driver.
Relying on the system, it has a reputation reserved. For instance, the parallel ports that printers used to connect with use LPT1, LPT2, LPT3, LPT4, LPT5, LPT6, LPT7, LPT8, and LPT9. The serial ports had reserved COM from 1 to 9. CON represents the console, and so forth a number of extra.
Why after greater than 40 years you can’t title a file in Home windows 10 or folders with them, as a result of it seems that these gadgets will be handled as a file. If again then you definately tried to do one thing like create a file referred to as LPT1.txt, what you had been going to do was ship it to the printer or one thing like that and that is why they had been blocked.
If in Home windows 10 you open the terminal and use a command like
COPY CON genbeta.txt, what occurs is that no matter you write to any extent further within the console will go to that textual content file “genbeta.txt”.
Home windows 10 retains code from the times of Home windows 3.1, and Home windows 3.1 was created with MS-DOS as fundamental, as was Home windows 95. With Home windows NT this didn’t occur, however nonetheless Microsoft wished it to be appropriate with Home windows 95, and Home windows 10 continues to be partly based mostly on Home windows NT, and the identical goes for Home windows 7, or Home windows 8.
Nearly nobody might use a parallel port to attach a printer anymore, however Microsoft chooses to proceed to help extraordinarily outdated software program and gadgets to today, and that is why Home windows code is an eyesore born of an virtually obsessive dedication to backward compatibility who has the occupies, a creature It occupies 0.5 TB and spans four million recordsdata.