zhsh1128 当前离线
列兵
评分人数
gawk 当前离线
少将
@echo off setlocal enabledelayedexpansion (for /f "tokens=1* delims=:" %%i in ('type "333.txt" ^| findstr /n ".*"') do ( if "%%j" equ "" ( echo, ) else ( set OldStr=%%j set NewStr=!OldStr:[组词]=[编词]! echo,!NewStr! ) ))>444.txt复制代码
TOP
gawk 发表于 2016-5-31 10:23
@echo off setlocal enabledelayedexpansion (for /f "delims=" %%i in ('type "111.txt"') do ( set OldStr=%%i set NewStr=!OldStr:[组词]=[编词]! echo,!NewStr! ))>222.txt复制代码