I've been searching on the Internet, but could not really find what I'm looking for.
Would need some help in performing the following tasks using windows batch script.
For the current month and year, example: August 2012, need to perform the followings:
1) Check and create a directory called: Aug2012 if it does not exist.
2) Check all files with extension *.AUD on D:\AuditData (source) and copy them to target directory. Target directory name is based on the respective month and year, for example: Aug2012. Overwrite the files if exist.
For all files with timestamp July 2012, copy them to Jul2012 directory.
For all files with timestamp August 2012, copy them to Aug2012 directory.
Please help to check and advise.
Thank you for your help.