How is the file organized? Are there line breaks? If so, you can treat the whole file like a list and count the members:
<CFFILE ACTION="READ" file="whatever" variable="myfile">
<cfset myfilelist = myfile>
<cfset linecount = listlen(myfilelist,chr(13))>
<cfoutput>#linecount#</cfoutput>
Be cautioned that this method won't count blank lines, so you'd have to do something like replace consecutive chr(13)'s with chr(13)&blah&chr(13).
HTH,
Phil Hegedusich
Senior Programmer/Analyst
IIMAK
-----------
I'm not as think as you confused I am.
-----------
Flabbergasted (a.): Amazed at how much weight one has gained.
-----------
Oyster (n.): One who sprinkles their conversation with Yiddish expressions.