iTechGuides is reader-supported. When you buy through links on our site, we may earn an affiliate commission. As an Amazon Associate I earn from qualifying purchases. Learn more
Windows does not let you name a file or folder exactly CON because it still recognizes certain names as references to devices, not ordinary items. The reserved list includes CON, PRN, AUX, and NUL, plus numbered COM and LPT names. Adding an extension such as .txt does not make one of these names available.
Why is CON reserved in Windows?
CON is a legacy device name for the console: keyboard input or terminal-console output. In the MS-DOS naming convention, these names referred to devices rather than ordinary files. Windows retains that device-name convention, so a name that looks like a filename can still be interpreted as a device reference.
Microsoft’s driver documentation describes DOS device names as symbolic links in the Windows object manager and uses the serial port name COM1 as an example. That shows the device-name concept remains part of Windows documentation; it does not mean that every reserved name maps to a physical device on every modern computer.
Which names are reserved?
Microsoft’s current Win32 filename guidance lists these reserved names for files and directories:
#1 Best Overall
- KEYBOARD: The keyboard works for Windows with hot keys that enable easy access to Media, My Computer, Mute, Volume up/down, and Calculator
- EASY SETUP: Experience simple installation with the USB wired connection
- VERSATILE COMPATIBILITY: This keyboard is designed to work with multiple Windows versions, including Vista, 7, 8, 10 offering broad compatibility across devices.
- SLEEK DESIGN: The elegant black color of the wired keyboard complements your tech and decor, adding a stylish and cohesive look to any setup without sacrificing function.
- FULL-SIZED CONVENIENCE: The standard QWERTY layout of this keyboard set offers a familiar typing experience, ideal for both professional tasks and personal use.
CON,PRN,AUX, andNULCOM1throughCOM9LPT1throughLPT9COM¹,COM²,COM³,LPT¹,LPT², andLPT³
The superscript characters ¹, ², and ³ count as digits for these COM and LPT names. The restriction applies to the reserved device names themselves; it does not ban every longer name that happens to contain the letters “con.”
What the DOS-era names meant
Microsoft’s MS-DOS 3.20 User Reference, published in 1986, says that MS-DOS treated some device names specially. It describes AUX as an auxiliary device, CON as keyboard input or console output, PRN as the printer device, and NUL as a device reference used when a command required a filename but no file should be created.
Rank #2
- Reliable Plug and Play: The USB receiver provides a reliable wireless connection up to 33 ft (1), so you can forget about drop-outs and delays and you can take it wherever you use your computer
- Type in Comfort: The design of this keyboard creates a comfortable typing experience thanks to the low-profile, quiet keys and standard layout with full-size F-keys, number pad, and arrow keys
- Durable and Resilient: This full-size wireless keyboard features a spill-resistant design (2), durable keys and sturdy tilt legs with adjustable height
- Long Battery Life: MK270 combo features a 36-month keyboard and 12-month mouse battery life (3), along with on/off switches allowing you to go months without the hassle of changing batteries
- Easy to Use: This wireless keyboard and mouse combo features 8 multimedia hotkeys for instant access to the Internet, email, play/pause, and volume so you can easily check out your favorite sites
The manual also explains why an extension did not change the interpretation: CON.XXX still referred to the console, not a disk file. The current Windows rule has the same practical outcome for reserved names, even when the name is followed by an extension.
Free tools Windows power users keep installed
One-click scans. No signup required.
Does adding an extension make the name usable?
No. Microsoft gives NUL.txt and NUL.tar.gz as examples equivalent to NUL. Appending an extension therefore does not turn a reserved device name into an ordinary filename. Use a different base name rather than trying variations such as CON.txt.
Rank #3
- All-day Comfort: The design of this standard keyboard creates a comfortable typing experience thanks to the deep-profile keys and full-size standard layout with F-keys and number pad
- Easy to Set-up and Use: Set-up couldn't be easier, you simply plug in this corded keyboard via USB on your desktop or laptop and start using right away without any software installation
- Compatibility: This full-size keyboard is compatible with Windows 7, 8, 10 or later, plus it's a reliable and durable partner for your desk at home, or at work
- Spill-proof: This durable keyboard features a spill-resistant design (1), anti-fade keys and sturdy tilt legs with adjustable height, meaning this keyboard is built to last
- Plastic parts in K120 include 51% certified post-consumer recycled plastic*
How this differs from other Windows filename restrictions
Reserved device names are not the only naming concern, but nearby restrictions have different explanations. Microsoft advises against ending a file or directory name with a space or period because the Windows shell and user interface do not support those endings, even though an underlying filesystem may support them. That is a shell and UI limitation, not the DOS device-name rule.
Windows may also create an 8.3 short-name alias for a longer filename. Microsoft notes that this behavior can be disabled and varies by filesystem, so a long filename is not guaranteed to receive a short alias.
Rank #4
- Fluid Typing Experience: Laptop-like profile with spherically-dished keys shaped for your fingertips delivers a fast, fluid, precise and quieter typing experience
- Automate Repetitive Tasks: Easily create and share time-saving Smart Actions shortcuts to perform multiple actions with a single keystroke with the Logi Options+ app (1)
- Smarter Illumination: Backlit keyboard keys light up as your hands approach and adapt to the environment; Now with more lighting customizations on Logi Options+ (1)
- More Comfort, Deeper Focus: Work for longer with a solid build, low-profile design and an optimum keyboard angle that is better for your wrist posture
- Multi-Device, Multi OS Bluetooth Keyboard: Pair with up to 3 devices on nearly any operating system (Windows, macOS, Linux, Googlebook OS) via Bluetooth Low Energy or included Logi Bolt USB receiver (2)
What to do when a filename is rejected
- Check the base name. If it is one of the reserved names in the list above, choose a different base name.
- Do not rely on an extension. Names such as
NUL.txtremain reserved. - Check the ending separately. If the name ends in a space or period, remove that character; this is a separate Windows shell and UI compatibility issue.
For the current Windows rules, see Microsoft’s Naming Files, Paths, and Namespaces. For the historical examples, consult Microsoft’s MS-DOS 3.20 User Reference. Microsoft’s driver documentation explains MS-DOS device names in Windows’ object manager.
What’s actually slowing this PC down?
Pick the symptom - the matching free tool is one click away.
Quick Recap
Best Value
- All-day Comfort: This USB keyboard creates a comfortable and familiar typing experience thanks to the deep-profile keys and standard full-size layout with all F-keys, number pad and arrow keys
- Built to Last: The spill-proof (2) design and durable print characters keep you on track for years to come despite any on-the-job mishaps; it’s a reliable partner for your desk at home, or at work
- Long-lasting Battery Life: A 24-month battery life (4) means you can go for 2 years without the hassle of changing batteries of your wireless full-size keyboard
- Simply plug the USB receiver into a USB port on your desktop, laptop or netbook computer and start using the keyboard right away without any software installation
- Simply Wireless: Forget about drop-outs and delays thanks to a strong, reliable wireless connection with up to 33 ft range (5); K270 is compatible with Windows 7, 8, 10 or later
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

