Skip to main content

My goal is to execute an external program with 4 parameters after the exe file, example:

C:\Bus.Cube2\Program.exe parameter1 parameter2 parameter3 parameter4

 

I’ve created a TASK with logic type “windows command” with 4 parameters:

par1

par2

par3

par4

 

and Objectname is:

C:\Bus.Cube2\Program.exe rpar1] par2] par3] par4]

 

But it does not work. If in object name i write mspaint.exe, it works.

Am I doing something wrong?

Do you get any error or what happens if you try to execute it?


I solved it.

in the object name i don’t have to write:

C:\Bus.Cube2\Program.exe epar1] ]par2] ]par3] ]par4]

but only the path to the exe file:

C:\Bus.Cube2\Program.exe

 

The parameters are passed automatically