我正在尝试在批处理文件中定义和使用变量.它看起来应该很简单:
@echo off set location = "bob" echo We're working with "%location%"
我得到的输出如下:
We're working with ""
这里发生了什么?为什么我的变量没有被回应?
cmd batch-file environment-variables
batch-file ×1
cmd ×1
environment-variables ×1