Learn English – Which is correct: “Filename”, “File Name” or “FileName”


Which is correct: "Filename", "File Name" or "FileName"?

Best Answer

The original form of the word was "file name", as in the name of a file. These days (and probably for a good few years), the compound "filename" is widely accepted and perhaps most commonly used. Either is of course perfectly acceptable.

Do not, however, capitalise letters in the middle of a word, under any circumstances. (Unless you are writing variable names in code.)

Related Topic