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

Popular posts from this blog

jquery - Invalid Assignment Left-Hand Side -

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -