windows - Is it possible to use output redirections from a cmd file using start? -
I have to create a CMD file with something:
: start / wait (Blabla1.exe -q -m1> blabla1.log2 & gt; and 1): Two start / wait (blabla2.exe -q -m1> blabla2.log2 & gt; & amp; 1)
where I do not want the output of the Babbla application to be output of the start command.
Is "local" redirection possible within the start command?
Do I have to create a line CMD in which blabla1.exe -q -m 1 & gt; Blabla1.log 2 & gt; And 1
and pass start
for the command?
Update: I need to first (blabla1.exe) to complete before the second (blabla2.exe) launch. This is the reason for using start / wait
(Windows XP and above)
Given that you are waiting for a file, and the process of termination, is there really an additional window starting with the 'start' required? In fact, if there was no way to redirect the output while using the beginning, then the windows that were raised above will not have any output ... they will be made even more vain.
If not, then simply remove "Start / Wait" and call exes directly.
If it is necessary ... then I'm not sure. UPDATE: I will definitely see some of the following "start / wait" will create behavior you wish:
(Create the following batch file: foo.cmd
: a notepad Exe: Two Dior
Note Unless you turn off Notepad, they will not direct.
Comments
Post a Comment