batch批量改名 改内容
REN .nc .txt
for %%i in (.) do ren “%%i” x”%%i”
for /f “eol=* tokens=*” %%i in (D:\hshshhs\ahha.txt) do (
set a=%%i
set “a=!a:X=!”
echo !a!>>$)
move $ D:\hshshhs\ahha.txt
pause
batch批量改名 改内容
REN .nc .txt
for %%i in (.) do ren “%%i” x”%%i”
for /f “eol=* tokens=*” %%i in (D:\hshshhs\ahha.txt) do (
set a=%%i
set “a=!a:X=!”
echo !a!>>$)
move $ D:\hshshhs\ahha.txt
pause