You can run the command line in C # using something like this:
process = new Process(); process.StartInfo.FileName = command; process.Start();
The problem is that the command line contains options, for example:
C:\My Dir\MyFile.exe MyParam1 MyParam2
This will not work, and I donβt see how to extract the parameters from this line and set it in the process.Arguments property? The path and file name may be something else, the file should not end in exe .
How can i solve this?
source share