Quote:
Originally Posted by StainlessS
Can any DOS wizard assist here ?
What I want to do is execute a line like this
Code:
C:\WINDOWS\system32\cmd.exe /K "C:\BIN\ffprobe.exe -i D:\AVS\AVI\TEST.VOB"
Where
"C:\WINDOWS\system32\cmd.exe" is the DOS CLI
/K means keep console window open on completion (will eventually use /C ie close on completion)
"C:\BIN\ffprobe.exe -i D:\AVS\AVI\TEST.VOB" is command to be executed by the DOS CLI together with args for target executable.
What I want is to redirect output from ffprobe (written to DOS CLI console window via stderr or stdout) to a file,
is there a way to redirect output from a NON DOS command (DOS COMMAND being eg DIR) where the NON DOS
command does not provide a way to accomplish same thing.
thanks in advance
|
Use this:
Code:
C:\WINDOWS\system32\cmd.exe /K "C:\BIN\ffprobe.exe -i D:\AVS\AVI\TEST.VOB 2> file.txt"
P.S. Please don't refer to the NT CLI as "DOS".