Answer the question
In order to leave comments, you need to log in
How to execute a command in a command?
There is a command with many arguments:
file.exe -a /abd -b -c \way -i -z <CONTENT> -v
And here, the most interesting thing, you need to get the output of the contents of the X.txt file after the -z argument. How to do it?
Answer the question
In order to leave comments, you need to log in
I implemented it like this:
set /p CONTENT=< "C:\way\file.txt"
file.exe -a /abd -b -c \way -i -z %CONTENT% -v
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question