咨询热线:4006-75-4006
售前:9:00-23:30 备案:9:00-18:00 技术:7*24h
bat批量去除文件首行
set n=1
:starline
for %%j in (*.txt) do (
:3
if exist D:work est
ew_%n%.txt (set /a n+=1&goto 3)
set file=%n%.txt
for /f "skip=1 delims=" %%i in (type "%file%") do (echo %%i >>D:work est
ew_%n%.txt)
set /a n+=1&goto starline
)
::start "" D:work est ew_%n%.txt
将一批文件合并到一个文件