Twitter LinkedIn Email Telegram :: Syntax: %1 = [path\]input filename.ext if [%1] equ [] echo Input filename not entered - restart.&&exit /b for /f %%1 in ('find /c /v "" ^< "%1"') do set linecount=%%1