Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Batch file with parameters
#1
Hi
I would like to make an x.exe that does the same job as this simple  batch file x.bat :

c:\pico\rightclick.exe  %1


QM should create x.exe  that takes an input parameter and passes it to rightclick.exe


run "c:\pico\rightclick.exe" InputParameter


The only thing missing for me is how to write and handle   InputParameter

Best regards
BenOve
#2
It is a special variable _command.
More info in QM Help -> Make exe.

Code:
Copy      Help
run "c:\pico\rightclick.exe" F"''{_command}''"
;or
RunConsole2 F"''c:\pico\rightclick.exe'' ''{_command}''"


Forum Jump:


Users browsing this thread: 1 Guest(s)