相关疑难解决方法(0)

使用MS批处理文件将程序的输出分配给变量

我需要使用MS批处理文件将程序的输出分配给变量.

所以在GNU Bash shell我会用VAR=$(application arg0 arg1).我在Windows中使用批处理文件需要类似的行为.

有点像set VAR=application arg0 arg1.

cmd batch-file variable-assignment windows-console

269
推荐指数
6
解决办法
29万
查看次数