Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Dos output
#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 &&.


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)