Windows System Reserved Keywords (系統保留字)
2023-11-21
Learn about Windows reserved keywords like "con," "prn," and more, and why they can't be used as file or folder names.
說明
Windows reserved keywords, also known as reserved words, are a set of specific terms that have predefined meanings within the Windows operating system. These keywords are used for various system functions and operations. Attempting to use these reserved words as file or folder names can lead to unexpected issues and errors.
Reserved Keywords | Usage |
---|---|
CON | Represents the system console or console input/output. |
PRN | Stands for printer, representing the default system printer. |
AUX | Represents auxiliary or secondary devices. |
NUL | Represents a null or empty device. |
COM1, COM2, COM3, COM4 | Represent serial communication ports. |
LPT1, LPT2, LPT3, LPT4 | Represent parallel printer ports. |
Understanding Windows reserved keywords is crucial to prevent conflicts and errors when naming files and folders. By selecting suitable alternatives and adhering to naming conventions, you can ensure a smooth and error-free experience when working with the Windows operating system.