What character to separate words in filenames? Dashes? Periods? Underscores?

Posted by Christopher Albon on Super User See other posts from Super User or by Christopher Albon
Published on 2010-03-06T07:42:09Z Indexed on 2010/04/04 10:33 UTC
Read the original article Hit count: 454

Filed under:
|

This question isn't about a specific programming language, but more about general best practices.

What characters are best (greatest compatibility over programming languages, OSs, file systems, etc.) to separate words in filenames?

For example:

  • file.name.txt
  • file_name.txt
  • file-name.txt
  • FileName.txt
  • filename.txt

© Super User or respective owner

Related posts about file

Related posts about names