Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Redirection of executable's stardard & error output
#1
With the following command, from the DOS prompt, I can redirect the output of an executable to a DOS folder :

lstcat 2>&1 1>"C:\tmp\tzuni.txt"

However, I failed to execute this command through a QM macro. Primarily I used the statement'

run "C:\MSDEV\ses\spu\gamma\lstcat.exe" "2>&1 1>''C:\tmp\tzuni.txt''"

but it failed. I would appreciate any advice. Many thanks in advance.


Messages In This Thread
Redirection of executable's stardard & error output - by ssimop - 07-16-2018, 01:18 PM

Forum Jump:


Users browsing this thread: 3 Guest(s)