I have a program, named IsCmdBld.exe, which is doing some job for me. The problem is, when I'm trying to redirect its output to the log file on a disk, the program can't determine the end of the parameter line.
Example:
"IsCmdBld.exe" -p param1 -tparam2 -sparam3 > "log.txt"
Result:
IsCmdBld error: the parameter " > "log.txt" " is not preceded by a switch.
Is there any way to circumvent such a problem?
>redirector should split the command line in such way that rest of line including>will not be passed to program called... But previous parameters: does anyone contain an unquoted sign with special meaning incmd, e.g.",^,&,|,<,>,(,),%or!? However, maybe yourIsCmdBld.exeprogram allows a parameter (switch) which could enable creating a verbose process log file? – JosefZ Jan 05 '15 at 12:36