File and Folder Naming Convention Best Practice

Regardless of the file system you may have configured on your system, it is always a good practise to follow a valid naming convention for all files and folders that are created and used on your system. The points listed below will help you get accustomed with the most important rules when naming files or folders:

When naming files use a period to separate the file name from its extension. Although, you can use a period as the first character of the name, avoid using a space or a period at the end of a file or folder.

When naming files or folders, do not use the following reserved characters:

  • < (less than)
  • > (greater than)
  • : (colon)
  • ” (double quote)
  • / (forward slash)
  • \ (backslash)
  • | (vertical bar or pipe)
  • ? (question mark)
  • * (asterisk)

When naming files or folders, assume they are case-insensitive. For instance, consider the names WINDOWS, Windows and windows to be the same, even though some file systems may support case sensitivity. Remember that drive letters (Volume designators) are also case-insensitive.

When naming files or folders, do not use the following reserved device names: CON, PRN, AUX, NUL, COM1, COM2, COM3, COM4, COM5, COM6, COM7, COM8, COM9, LPT1, LPT2, LPT3, LPT4, LPT5, LPT6, LPT7, LPT8, and LPT9.

Share