"file name" or "name of the file"?
Which is version is correct?
filename or file name helped me a little, but didn't answer my questions, please see below.
program <filename> - where <filename> is the file name you want to process
program <filename> - where <filename> is the name of the file you want to process
As I know, "file" becomes like an adjective in this case.
Is it normal to use the short version in technical documentation (end-user);
Is it correct to
the
anda
articles with the short versions.the name of a file
==a file name
andthe name of the file
==the file name
?Is it correct to use a compound form, like "application executable file name" ("the name of the executable file of the application")?
Solution 1:
I think that the second line is a better explanation in the context shown, but there are plenty of other places where the simpler 'filename' (or 'file name') would be used in documentation without problem.
Yes, using the articles as shown is correct.
Compound sequences of nouns like 'application executable file name' are used quite a lot, but often don't make for good reading. On the other hand, neither does the form using 'of the' if it is repeated often. That's why people tend to end up using a shorthand - 'application' or 'application executable' for the example, depending on exactly what is being discussed.
Solution 2:
Your first example would make me think that it is the filename that will be processed, for example by changing the file extension. The second clearly states that the file is being processed that is identified by that filename.
Correct.
I agree with Jonathan Leffler. Correct, but hard to read.