Take the 2-minute tour ×
English Language & Usage Stack Exchange is a question and answer site for linguists, etymologists, and serious English language enthusiasts. It's 100% free, no registration required.

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.

  1. Is it normal to use the short version in technical documentation (end-user);

  2. Is it correct to the and a articles with the short versions. the name of a file == a file name and the name of the file == the file name?

  3. Is it correct to use a compound form, like "application executable file name" ("the name of the executable file of the application")?

share|improve this question
add comment

2 Answers

up vote 4 down vote accepted
  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.

  2. Yes, using the articles as shown is correct.

  3. 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.

share|improve this answer
    
+1, and welcome to EL&U Jonathan –  VonC Nov 26 '10 at 7:47
add comment
  1. 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.

  2. Correct.

  3. I agree with Jonathan Leffler. Correct, but hard to read.

share|improve this answer
1  
+1 for #1. The only way to make the first example work to refer to the file and not just its name would be to move the rest of the description: "the to-be-processed file's name". –  Jon Purdy Nov 26 '10 at 8:12
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.