Advertisement
npocmaka

FirstLines.bat

Jul 18th, 2013
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. rem :: displays the first lines of a file in one line.
  2. rem :: can be pasted directly in command prompt
  3. rem :: will show also the empty lines unlike the FOR /F loop.
  4. break>"%temp%\empty"&fc "%temp%\empty" "<FILE>" /lb  <LINES> /t |more +4 | findstr /B /E /V "*****"
  5. ::
  6. :: by Vasil "npocmaka" Arnaudov
  7. ::
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement