質問編集履歴
1
コード内容に間違いがありましたので更新しました。
test
CHANGED
File without changes
|
test
CHANGED
@@ -6,6 +6,4 @@
|
|
6
6
|
|
7
7
|
|
8
8
|
|
9
|
-
set lines=0
|
10
|
-
|
11
|
-
for /f %
|
9
|
+
for /f %i in (new_file.txt) do (if !lines! lss %count% ( echo %i & set /a lines=lines+1))
|