Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to write multi-line CMD code to run in QM?
#3
Code:
Copy      Help
RunConsole2 "cmd.exe /?"

Macro RunConsole cmd.exe, multiple commands
Code:
Copy      Help
str s=
;cd C:\
;dir
s.findreplace("[]" " && ")
RunConsole2 F"cmd.exe /C ''{s}''"

But I don't know what to do with " and other special characters.


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)