Windows batch command(s) to read first line from text file

uh?
imo this is much simpler

  set /p texte=< file.txt  
  echo %texte%

Leave a Comment