zjfy22 当前离线
列兵
QIAOXINGXING 当前离线
六级士官
@echo off&SetLocal EnableDelayEdexpansion&cd /d "%~dp0" set "tab= " (for /f "delims=" %%i in (1.txt) do ( set "str=%%i" set "str=!str:null=%tab%!" echo !str! ))>2.txt复制代码
TOP
apang 当前离线
上将
@echo off pushd "D:\File\" set "tab= " for /f "delims=" %%i in ('dir /b *.txt') do ( (for /f "delims=" %%j in ('type "%%i"') do ( set "str=%%j" call echo %%str:null=%tab%%% ))>$ move $ "%%i" )复制代码
find 当前离线
少将
sed -i "s/NULL/\t/g" *.txt复制代码