Apoorv Tyagi 6/24/2021

Why You Can't Name a File 'CON' in Windows?

Read Original

This article delves into the historical reason behind Windows' restriction on naming files or folders with reserved names like CON, PRN, AUX, NUL, COM0-COM9, and LPT0-LPT9. It traces back to MS-DOS from the 1980s, where these names were used as device files to allow programs to interact with hardware (e.g., printers, keyboards) through device drivers. The article explains how this design enabled backward compatibility, persisting even in modern Windows 10 due to its roots in Windows NT and earlier systems. It provides a clear technical explanation for a common curiosity among Windows users, making it relevant to IT and technology topics.

Why You Can't Name a File 'CON' in Windows?

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week

No top articles yet