Xwolf Posted February 11, 2009 Posted February 11, 2009 (edited) Question:How to get the number of lines in a file? For example, there is the file "test.txt",which have 3 lines. So,how can i get the "3"? 3Q for everyone Edited February 11, 2009 by Xwolf
Innovative Posted February 11, 2009 Posted February 11, 2009 (edited) _FileCountLines --------------------------------------------------------------------------------Returns the number of lines in the specified file.#Include <File.au3>_FileCountLines($sFilePath) From the helpfile, learn to use the helpfile next time .. Edited February 11, 2009 by xVivoCity
Xwolf Posted February 11, 2009 Author Posted February 11, 2009 From the helpfile, learn to use the helpfile next time .. Thanks so much !!!Ho my god.I have read the helpfile everyday, but didn't find this function.I'm very sorry to ask so stupid question.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now