From: reply1500@merlyn.demon.co.uk.invalid   
      
   In alt.msdos.batch message , Wed, 2 Dec 2015 14:54:35, Ammammata    
   posted:   
      
   >I have a text file, about 860,000 lines: I need to know the lenght of the   
   >longest line   
   >   
   >can I do it with a batch? I'm using Windows7   
      
   For that sort of thing, consider using JavaScript or VBScript running in   
   Windows Script[ing] Host at the command line or using a local HTA "web"   
   page in MS IE.   
      
   Two advantages :   
   (1) one knows that the languages are capable of handling all reasonable   
   tasks, and many others,   
   (2a) one may already know those or similar languages,   
   (2b) and [increased] knowledge of them may later be useful.   
      
   If speed matters, consider using a compiled high level language.   
      
   The answer may depend on knowing the greatest possible length and the   
   character size (in bits); for example, ordinary Borland Pascal strings   
   cannot exceed 255 8-bit characters.   
      
   --   
    (c) John Stockton, Surrey, UK. ¬@merlyn.demon.co.uk Turnpike v6.05 MIME.   
    Merlyn Web Site < > - FAQish topics, acronyms, & links.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|