qingwusigui 当前离线
列兵
@echo off del total.csv (for %%i in (*.csv) do ( for /f "skip=8" %%j in ('type "%%i"') do echo %%j))>total.txt ::ren total.txt total.csv @echo 运行完毕...已合并至total.csv pause复制代码
CrLf 当前离线
论坛巡查
@echo off (for %%i in (*.csv) do more +8 %%i)>total.txt ren total.txt total.csv pause复制代码
TOP
terse 当前离线
中将
原来是有条件的 作废 复制代码
@echo off ( for %%a in (*.csv) do ( for /l %%b in (1 1 8) do set /p= findstr . )<%%a )>total.txt ren total.txt total.csv pause复制代码
@echo off (for %%a in (*.csv) do sed "1,8d" "%%a")>total.txt ren total.txt total.csv pause复制代码