I have an app which has a command-line interface*. I use this to search through a bunch of files
(located at c:\user\user\desktop\dailydownload)
that have a particular format** and generate a resulting csv file.
This needs to be repeated about 15 times a day in succession (once for each element in an array of search terms that I will specify in the config file).
The input files located in this directory get updated every day with 6 new files and I only want the search to go through the last 6 files.
I want to automate this process. So I want some sort of script (Visual Basic or C# or Java or Perl) that will get the last 6 files, run them through the commandline access to my app and write the results to another file where the previous days search results are also written. (Here is an example of running the app with a search looking for files that match *.sys and writing the output to results.txt.
[login to view URL] -d "C:\WINDOWS" -f "*.sys" -o "c:\temp\[login to view URL]")
So the end result of the process will be several csv files (one for each of the 10 times a day) which has the results of today's search (please also make a file that contains the cumulative results).
This all has to take place on my local Windows 7 OS. I assume this would be scheduled using Windows scheduler.
Please see attached document for step by step and details.