Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Can I call a function from a menu, pass a argument then run?
#2
With run, program name and command line must not be in the same string. Quotes are not used.

Code:
Copy      Help
c: :ExploreOnly2("c:\")

Code:
Copy      Help
;/
function $drive

str s.from("/e, /root, " drive)
run "explorer" s

Quote:"Explorer" "/e, /root, C:\"
It would be single string in C++, but two strings in QM.


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)