Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
wscript echo
#2
RunConsole or RunConsole2.

Macro
Code:
Copy      Help
str _file text cl echo echo2
_file.expandpath("$desktop$\msg.vbs")
text=
;WScript.Echo "OK"
text.setfile(_file)

cl.format("/nologo %s" _file)
RunConsole "cscript" cl echo
out echo

cl.format("cscript /nologo %s" _file)
RunConsole2 cl echo2
out echo2


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)