If all you want is the first line then the following is probably the simplest way:
set /p FirstLine= < "SomeFile.txt"