blacksniper Posted January 22, 2007 Share Posted January 22, 2007 Is there a command to get the # of lines in a txt? Error.log has 400 or so lines (but always changes). Link to comment Share on other sites More sharing options...
xcal Posted January 22, 2007 Share Posted January 22, 2007 Is there a command to get the # of lines in a txt?Error.log has 400 or so lines (but always changes).Yes. Fourth answer in the help file when you search for Count Lines. How To Ask Questions The Smart Way Link to comment Share on other sites More sharing options...
enaiman Posted January 22, 2007 Share Posted January 22, 2007 Include "File.au3" into your script (you should find it into your AutoIT\Include folder). There is a function inside (_FileCountLines($sFilePath)) which allow you to get the number of lines. SNMP_UDF ... for SNMPv1 and v2c so far, GetBulk and a new example script wannabe "Unbeatable" Tic-Tac-Toe Paper-Scissor-Rock ... try to beat it anyway :) Link to comment Share on other sites More sharing options...
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