Hello guys,
I need to your help how to create a script which will be copy all files beginning with resultsYYYYYMMDD* from a folder A to other folder (which must be created automatically by the filenames)
For example:
C:\folder_A
results20150101aaaa.xls
results20150102bbbb.xls
results20150103aaaa.xls
results20150201aaaa.xls
results20150301aaaa.xls......
I need to copy all files beginning with results201501 to a new created folder named 201501
and files beginning with results201502 to a new created folder named 201502 etc.
Any idea?
Thanks a lot!