PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → ExeRun - Passing Parameters
ExeRun - Passing Parameters
Iniciado por guest, 14,oct. 2016 13:44 - 3 respuestas
Publicado el 14,octubre 2016 - 13:44
Hi All

I am trying to call an exe and pass parameters to that exe. I am using ExeRun. Is this the correct function? If so how does one pass a parameter to the called exe? If not what WX function can I use to achieve this?

Cheers
André
Publicado el 14,octubre 2016 - 14:12
No idea yet but it seems as if it is simply listing the parameters after the exe name with a space between each of them.

Cheers
André
Publicado el 14,octubre 2016 - 14:32
Hi André,

You pass them with the program’s name. It’s in the help (syntax section).

ExeRun("""Full path to program"" command line", …)

Make sure you use double quotes around the program’s path.

Best regards,
Alexandre Leclerc
Publicado el 14,octubre 2016 - 14:40
Hi Alexandre

Thanks - about to test that.

Cheers
André