标签: batch-file environment-variables
我怎样才能禁用环境变量ie。提供输出的%TIME%,复制到文本文件时将保持%TIME%? echo %TIME% > Example.txt
echo %TIME% > Example.txt
答案 0 :(得分:1)
因为我理解您要打印的问题只是%time%
%time%
来自批处理文件:
echo %%time%%
:
echo %^time%