Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Dos output
#1
how can i grab the output of a dos command when using "system" to run the command ie xcopy.
An old blog on QM coding and automation.

The Macro Hook
#2
Don't know how to do it with system(), but you can use RunConsole.

Code:
Copy      Help
RunConsole "cmd.exe" "/c ''cd C:\ && dir''" _s
out _s

Tip: With system() and with RunConsole, several commands can be passed. All must be enclosed in double quotes. Commands separated by &&.
#3
that'll do!

thanks.
An old blog on QM coding and automation.

The Macro Hook


Forum Jump:


Users browsing this thread: 1 Guest(s)