Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Command Line Parameters on an EXE
#18
Another way - create console exe, and run it with RunConsole2.
Function this_is_my_console_exe
Code:
Copy      Help
ExeConsoleWrite "some text"

;BEGIN PROJECT
;main_function  this_is_my_console_exe
;exe_file  $my qm$\this_is_my_console_exe.exe
;icon  <default>
;manifest  $qm$\default.exe.manifest
;flags  70
;guid  {D3960F15-7393-4411-8A6A-0731CBBF8E01}
;END PROJECT
Macro Macro2473
Code:
Copy      Help
str progPath.expandpath("$my qm$\this_is_my_console_exe.exe")
str s
RunConsole2 F"''{progPath}'' /a ''b''" s
out s


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)