私はこのバッチスクリプトを持っています:
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
SET testb =
エコーデータム:
可変testbが突然空になるのはなぜですか?