Monday 13 August 2012

Windows Reserved Filenames

A colleague asked me to help name a folder with a certain name and when I did the name refused to stay. I kept trying and was so confused/annoyed as to why I couldn't rename the folder with the given name. I found out later that the name I was using to name the folder is a MS DOS/Windows reserved name that can't be used to name any folder. After the cut is a list of reserved names for Windows


  • CON
  • PRN
  • AUX
  • NUL
  • COM1
  • COM2
  • COM3
  • COM4
  • COM5
  • COM6
  • COM7
  • COM8
  • COM9
  • LPT1
  • LPT2
  • LPT3
  • LPT4
  • LPT5
  • LPT6
  • LPT7
  • LPT8
  • LPT9

No comments:

Post a Comment