I need to create an application that can be activated with a batch file.
The application would accept a single string parameter of a file name. It will then run some processing with this file and drop another file in a predetermined location and exit.
The application does not need to interact with an actual user.
My preferred platform is .net using C#.
I originally planned on writing a console application but am not sure that this is the best idea.
What is the best way to accomplish this task? Is there a way to create a windows service that would be triggered by a batch file? Is this more desirable? Would a Windows Form project be more desirable?
Option one: Console App. Use Windows Scheduler to run it at schedule times. (recommended)
Option two: Windows Service that has some inbuilt scheduler or poller.