Hi,
I am using .net Process class to run an executable process , say abc.exe which takes three parameters- two input files(file1 & file2)
and one output file(file3).Based on the two input files, the o/p file3 is to be updated.
The command line on the console will look like this:
C:\dir\...> abc.exe file1 file2 -o file3
On my c# code, I am doing something like:
Process myProc = new Process();
myProc.StartInfo.Filename = "dir\abc.exe";
myProc.StartInfo.Arguments = "file1, file2, file3";
myProc.Start();
It executes without giving any errors, but my o/p file3 is not updated.
I am trying to figure out where I might have gone wrong to run this process.
Or is there any other way to execute programatically the exe file?
Please help!
Thanks!