How to create batch file to run the c# application. [Resolved]

Posted by Jitendrasoft09 under Visual Studio on 3/29/2013 | Points: 10 | Views : 8890 | Status : [Member] [MVP] | Replies : 3
If I have the calculate the factorial number program or application , How to execute the c# application or program with batch file.

Jitendra Kumar
If my post helps you, plz mark as an answer.



Responses

Posted by: Satyapriyanayak on: 3/29/2013 [Member] [MVP] Silver | Points: 50

Up
0
Down

Resolved
http://www.pcstats.com/articleview.cfm?articleID=1767
http://stackoverflow.com/questions/3406313/how-to-create-bat-file-to-run-c-sharp-code

If this post helps you mark it as answer
Thanks

Jitendrasoft09, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Jsinghal on: 7/19/2016 [Member] Starter | Points: 25

Up
0
Down
If you have worked on Java before or know about Spring batch. However I found this open source batch framework for .Net which might be of use to you.

https://www.nuget.org/packages/SummerBatch/

Jitendrasoft09, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Bhuvanesh6 on: 7/24/2016 [Member] Starter | Points: 25

Up
0
Down
Create an file with Name "myApplication.bat"

Update the file with following code:

@echo off
[full path to your application folder]\[your application name - actual executable file].exe [any additional parameters if required may be command line arguments]

Sample:
@echo off
D:\MyCalculator.exe

Thanks.

Bhuvan

Jitendrasoft09, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response