How can I read the first line from a text file using a Windows batch file? Since the file is large I only want to deal with the first line.
uh? imo this is much simpler
set /p texte=< file.txt echo %texte%
1.4m articles
1.4m replys
5 comments
57.0k users