Dear Alan,
As a continuation of our previous talk:
I want to call a .bat file with path: C:\x.bat , to run data file in path E:\xx.dat in c#.(Some thing like System method in c++).
I wonder if you may let me know about
Dear Alan,
As a continuation of our previous talk:
I want to call a .bat file with path: C:\x.bat , to run data file in path E:\xx.dat in c#.(Some thing like System method in c++).
I wonder if you may let me know about
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
yamidPosted Nov 4, 2008, 10:46 AM
Thanks for your comments.
1. The Process.Start is working well, thanks for your response. I found other way as well,You can find it in other post I just wrote.
2. It should be possible. I will try to find more about.
GordonPosted Nov 4, 2008, 9:46 AM
Ryan AlfordPosted Nov 4, 2008, 9:07 AM
yamidPosted Nov 4, 2008, 4:44 AM
Thanks,
The Application I am using infact is a simulator, It means, I do need to prepare a separate data file .
The application read the data file line by line and start the simulation. (e.g. while running the bat file ,the console will ask me to write the path in which the data file exist then it will start
If I want to run the application, I need to run the bat file .then show the data file,
i am looking for a command that I can do both to gether , this is important, as I want to run the application several times.
thanks
Ryan AlfordPosted Nov 3, 2008, 4:27 PM
yamidPosted Nov 3, 2008, 4:14 PM
Ryan AlfordPosted Nov 3, 2008, 3:42 PM