Copy and Paste following code in a batch file, that will count rows in file (csv, txt, etc.,) available in the directory.
@ECHO OFF
setlocal enabledelayedexpansion
for %%f in (*.csv) do (
set /p val=<%%f
find /v /c "" %%f
)
@ECHO OFF
setlocal enabledelayedexpansion
for %%f in (*.csv) do (
set /p val=<%%f
find /v /c "" %%f
)
No comments:
Post a Comment
Your feedback is always appreciated. I will try to reply to your queries as soon as time allows.Please don't spam,spam comments will be deleted upon reviews.