谢谢!作者: 9527 时间: 2006-12-1 02:10 @echo off&setlocal enabledelayedexpansion
for /f "tokens=1* delims=:" %%a in (tmp.txt) do (
set c=%%b
if not defined a (<nul set/p pp=!c:~1,17!>>oo.txt&set a=1) else (<nul set/p pp=!pp!^|!c:~1,17!>>oo.txt)
)
start "" oo.txt