You could download one of the many DOS/WIN equivalents to the Unix HEAD command or you could save this batch file somewhere on your path
If you call it htype.bat the usage would be htype "filename.txt" N where N is the number of lines you want to see. Use quotes if the filename contains spaces. Use CALL if from a batch file.
@echo off
setlocal enabledelayedexpansion
set /a lin=1
set /a max=%2
for /f "delims=" %%L in (%1) do (
echo %%L
set /a lin+=1
if !lin! GTR %max% goto end
)
:end