Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- setlocal ENABLEDELAYEDEXPANSION
- set l=%1
- set c=0
- for /f "delims=" %%1 in ('type %2') do (
- set /a c+=1 && if "!c!" equ "%l%" echo %%1%
- )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement