Answer the question
In order to leave comments, you need to log in
How to process command line response by standard means?
Subject: Is it possible to read command line responses using cmd/PS? More specifically, software that works from the command line?
Answer the question
In order to leave comments, you need to log in
program > file
program > file 2>&1
program | program2
program | program2 2>&1
Usually, to process the output of commands in a batch file, they drive the command into a loop of the form:
for /f "tokens=xxx delims=yyy" %%a in ('тут нужная команда') do (
echo %%a
)
for /?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question