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.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
Ryan AlfordRank #1,411 · 1.2K reputationPosted Nov 3, 2008, 10:42 AM EST
yamid113 reputationPosted Nov 3, 2008, 11:14 AM EST
Ryan AlfordRank #1,411 · 1.2K reputationPosted Nov 3, 2008, 11:27 AM EST
yamid113 reputationPosted Nov 3, 2008, 11:44 PM EST
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 AlfordRank #1,411 · 1.2K reputationPosted Nov 4, 2008, 4:07 AM EST
Gordon8 reputationPosted Nov 4, 2008, 4:46 AM EST
yamid113 reputationPosted Nov 4, 2008, 5:46 AM EST
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.