T
Takuya Matsumoto
Greetings to all,
I really appreciate the support from this community and I've made some
advancements, but again I'm hitting a wall...
I'm trying to write a program in C# that passes an option to another EXE so
that the second program knows what to do.
I belive the syntax is like below, but the problem arises when I add the
option; it does not find the exe file.
System.Diagnostics.Process.Start("c:\program files\program\sample.exe"
/option:"doSomething");
As a test, I tried "Run" option of Windows as below:
"c:\program files\program\sample.exe" /option:"doSomething"
and this works fine.
I'm puzzled as to what the problem is.
What am I doing wrong?
Thanks very much for your help!
Cheers,
Takuya
I really appreciate the support from this community and I've made some
advancements, but again I'm hitting a wall...
I'm trying to write a program in C# that passes an option to another EXE so
that the second program knows what to do.
I belive the syntax is like below, but the problem arises when I add the
option; it does not find the exe file.
System.Diagnostics.Process.Start("c:\program files\program\sample.exe"
/option:"doSomething");
As a test, I tried "Run" option of Windows as below:
"c:\program files\program\sample.exe" /option:"doSomething"
and this works fine.
I'm puzzled as to what the problem is.
What am I doing wrong?
Thanks very much for your help!
Cheers,
Takuya