How to simulate a command in the console?

There is a console application that skompresowane in in .exe file.
It accepts parameters from the command line.
You need to hand it over to others.

Is it possible to write a script in some language, then the following pseudo-code:
var pathToExe = "C:\app.exe"
var param1 = "val1"
var execString = pathToExe + "" +param1

July 2nd 19 at 18:15
1 answer
July 2nd 19 at 18:17
The simplest way to do it.
bat to exe

Find more questions by tags TerminalC#Automation