xxm19810711 当前离线
列兵
CrLf 当前离线
论坛巡查
gawk "FNR==1{name=FILENAME;gsub(/\.[^\.]+$/,\"\",name)}{gsub(name,\"\")>=0;print >FILENAME \".tmp\"}" *.txt del *.txt ren *.txt.tmp *.复制代码
TOP
DAIC 当前离线
中将
@echo off for /f "delims=" %%i in ('dir /b *.txt') do ( sed -i "s/%%~ni//g" "%%i" )复制代码
@echo off for /f "delims=" %%i in ('dir /b *.txt') do ( sed -i "s/%%i//g" "%%i" )复制代码
sed -i "s/济南妇科医院//g" 济南妇科医院.txt复制代码
amwfjhh 当前离线
六级士官
@echo off (for /f "tokens=*" %%i in (济南妇科医院.txt) do ( set strLine=%%i setlocal enabledelayedexpansion echo !strLine:济南妇科医院=! endlocal ))>济南妇科医院_new.txt start "" 济南妇科医院_new.txt复制代码