calling C# exe from commandline using batch file -
i want create exe file using c# send emails. want invoke exe using batch file. should create web form application or class library ? can exe called using batch file command prompt?
please suggest.
typically, if want call application command line, you'd create console application.
this allows command prompt call application , (optionally) accept input console (prompt) write output console (via console class).
you can read command line arguments directly main routine in console application, well.
Comments
Post a Comment