【发布时间】:2012-09-18 00:39:33
【问题描述】:
我有一些工具可以将一些数据直接输出到控制台输出。
我想将此输出保存到某个变量,然后将其传递给其他地方...
可以吗?
例子:
rem this outputs String1 values from myfile.txt
GetString myfile.txt String1
rem I want this value for example in %p% variable, and then:
call MyApp %p%
【问题讨论】:
标签: batch-file cmd windows-console