Hi Everyone. I tried searching the forums for a solution but can't seem to find anything on this (I thought it would've come up before). I am working on this fairly simple program that needs to count the number of lines in a text file and I'm using: $LineCount = _FileCountLines("new.txt") to give me the number of lines in the file. This works fine until I have a blank line at the end of the file which it won't count but I need it to. I was wondering if there was a simple way to get