Geeks for your information
Windows 10 Still Won’t Let You Use These File Names Reserved in 1974 - Printable Version

+- Geeks for your information (https://www.geeks.fyi)
+-- Forum: Windows (https://www.geeks.fyi/forumdisplay.php?fid=12)
+--- Forum: Tips and tricks (https://www.geeks.fyi/forumdisplay.php?fid=23)
+--- Thread: Windows 10 Still Won’t Let You Use These File Names Reserved in 1974 (/showthread.php?tid=4438)



Windows 10 Still Won’t Let You Use These File Names Reserved in 1974 - harlan4096 - 07 November 18

[Image: ximg_5be1e992dc1a7.png.pagespeed.gp+jp+j...eEJK0l.png]
Quote:Windows “reserves” certain file names and doesn’t let you use them anywhere. Forget calling a file “con.txt” or “aux.mp3”. This is all because of a choice made in 1974 and Microsoft’s thirst for eternal backwards compatibility.

File Names You Can’t Use

Microsoft provides an official list of reserved file names, and here they are:
Quote:CON, PRN, AUX, NUL, COM1, COM2, COM3, COM4, COM5, COM6, COM7, COM8, COM9, LPT1, LPT2, LPT3, LPT4, LPT5, LPT6, LPT7, LPT8, and LPT9
Note that you can’t use these file names with any file extension. So you can’t name a file “con.txt”, “con.jpg”, “or “con.doc”. And Windows isn’t case sensitive, so it doesn’t matter whether it’s CON, con, or CoN—Windows won’t let you use that name.

You can try it yourself. Try saving a file as “con.txt” or “lpt6.txt” in Notepad. Or try renaming any file to one of these names in File Explorer. Windows just won’t let you do it.

Of course, Windows also restricts file names in other ways. You can’t use various special characters like the following in names, either. Consult Microsoft’s official documentation for more information.
Full reading: https://www.howtogeek.com/fyi/windows-10-still-wont-let-you-use-these-file-names-reserved-in-1974/