Hello,
Below is the contents of my linecounter.vbs file, which I hoped was
going to be useful in telling me how many lines a text file includes,
but seems to max out at 65,000 (give or take) even though I know my
files are over 800,000 lines of text. Any suggestions? I'm obviously
oversimplifying or else this wouldn't be a problem.
Thanks,
Eric
----linecounter.vbs--------------------------------------------
Dim objArgs
Set objArgs = WScript.Arguments
TgtFile = objArgs(0)
Set fso = CreateObject("Scripting.FileSystemObject")
Set f = fso.OpenTextFile(TgtFile)
ra = f.ReadAll
msg = objArgs(0) & vbcrlf
msg = msg & " line count: " & f.Line
WScript.Echo msg
--(end)------------------------------------------------------------