I have some tool which is outputs some data directly to console output.
I want to save this output to some variable and then pass it somewhere else…
Is it possible to do?
Example:
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%
You can try this
Although I’m not really sure what you mean about the
String1bit, if this isn’t right, can you clarify?