Windows batch/script code to conditionally process based on date value in text file
- by CarolinaJay65
I am using Windows XP. The code can be used in a batch file or vbs script. I intend to use Windows scheduler to run the program.
I need code to read a date from a text file (could be the only line in the text file or the date could be included in the filename, I control the process that generates the file)
The code would then need to evaluate the text file date against the current date to confirm that the text file date is from the prior month.
I'm starting to build a process to be able to run 1st-of-the-month jobs once the monthly data has been refreshed. I'm new to building this kind of process using batch/script files.
Thanks for your time