qinxg 当前离线
列兵
went 当前离线
少校
@echo off & cd /d "%~dp0" setlocal enabledelayedexpansion set "a=123456" set "b=789" REM 法1 set "c=!a:123=%b%!" echo %c% REM 法2 call set "c=%%a:123=%b%%%" echo %c% pause&exit复制代码
TOP