|
-
December 24th, 2007, 12:57 AM
#1
Alternative to shell command ?
Hello all,
I want to know what is the alternative to shell command in C# ?
Below is the shell command.
Code:
shell("C:\Compute.exe" + " Parse" + " C:\source.txt")
I have a 3rd party console application named "Compute.exe", which accepts a text file as input.
so Compute.exe is the application i call from my application.
Here "Parse" is one of the commands i pass depending upon the need.
And Source.txt is the name of the input file.
at present i am calling this program using Process.Start method. But this doest open/run the compute.exe as it should run when i double click on it.
also i cannot pass the parameters to this file.
Need serious help in this regards.
thanks
MMH
Regards,
MMH
Rate my post if you find it usefull. 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|