hucuibai 当前离线
四级士官
@echo off&setlocal enabledelayedexpansion for /f "tokens=1-5 delims=: " %%a in ('findstr /n .* temp.txt') do set _%%a=%%b,"%%c",%%d,%%e for /f "tokens=1-3 delims=: " %%a in ('findstr /n .* temp1.txt') do echo ^(!_%%a!,%%c^),>456.sql pause复制代码
评分人数
TOP
batman 当前离线
考官
荣誉版主
@echo off&setlocal enabledelayedexpansion for /f "tokens=1* delims=:" %%a in ('findstr /n .* temp.txt') do ( for /f "tokens=1-4" %%c in ("%%b") do set "_%%a=%%c,"%%d",%%e,%%f" ) (for /f "tokens=1-2 delims=:tab" %%a in ('findstr /n .* temp1.txt') do echo ^(!_%%a!,%%b^),)>456.sql复制代码