我有这个批处理脚本:
SET test = %TIME:~0,2%_%TIME:~3,2%_%TIME:~6,2%
SET testa = %date:.=_%
SET testb = %testa%%test%
Echo Datum:%testb%
此脚本生成以下输出: SET test = 10_29_51
SET testa = 08_02_2013
设置测试b =
回波基准:
为什么变量testb突然为空?
我有这个批处理脚本:
SET test = %TIME:~0,2%_%TIME:~3,2%_%TIME:~6,2%
SET testa = %date:.=_%
SET testb = %testa%%test%
Echo Datum:%testb%
此脚本生成以下输出: SET test = 10_29_51
SET testa = 08_02_2013
设置测试b =
回波基准:
为什么变量testb突然为空?