有可能做这样的事情吗?
@echo off
setlocal enabledelayedexpansion
set 1=one
set 3=three
set onetwothree=output
echo !%1%two%3%!
pause
其中变量 %1% 将变为 1,变量 %3% 将在最后一个变量内变为 3,然后 %onetwothree% 将回显为 onetwothree 的输出设置的任何内容?
有可能做这样的事情吗?
@echo off
setlocal enabledelayedexpansion
set 1=one
set 3=three
set onetwothree=output
echo !%1%two%3%!
pause
其中变量 %1% 将变为 1,变量 %3% 将在最后一个变量内变为 3,然后 %onetwothree% 将回显为 onetwothree 的输出设置的任何内容?