Created
April 22, 2021 14:43
-
-
Save senyaitiya/16968ebade9b9169e8cf6113717df3ad to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SET CURRENT_DIR=%cd% | |
SET LOG_NAME=linecount.log | |
SET LOG_DIR=%CURRENT_DIR%¥%LOG_NAME% | |
rem バッチファイルのあるディレクトリに移動 | |
cd %CURRENT_DIR% | |
rem テキストファイルの行数をログに出力 | |
find /c /v "" *.txt > %LOG_DIR% |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment