Display top two lines of all files in a folder using windows command prompt

  cmd, windows

Im new to the windows cmd, how is an easy way to print out only the first 2-3 lines of each file (also some big files among it) in a folder?
Probably i can start with something like

for %%x in (*.csv) do ( ??? )

Source: Windows Questions

LEAVE A COMMENT