This is a follow up Q to http://www.experts-exchange.com/Operating_Systems/MSDOS/Q_20955634.html?
and is allong the same lines. Some one in the Visual Basic TA suggested this post. I have to admit that my coding and knowledge of MSDOS is negligable so please go easy on me ;) I would like to name the file with the following convention: MMDDYYYY.csv (where MMDDYYY is yesterday's date i.e. Date - 1) I don't really care what .csv file it finds in the folder, I just want to grab whatever file is in there, rename it MMDDYYYY.csv and put it in a new folder called "Dropfolder."
I saw the code in the above example, but how do I use that to make the code executible?
How do I set what time it will run at?
What happens if the function runs one day and it can not find a .csv file to rename and move? can it just log the error and get ready for the next day?
To insure that this runs every day can it run on the mainframe?
thank you so much!!