I have in c:\mydir\ this txt file:
AAAA-BBBB_04-05-2012.TXT
AAAA-BBBB_02-05-2013.TXT
AAAA-BBBB_02-06-2012.TXT
i need to cut from c:\mydir\ and copy in c:\mydir1\ all files based the current year -1 year.
in this case the file in question area:
AAAA-BBBB_04-05-2012.TXT
AAAA-BBBB_02-06-2012.TXT
note:
i need a fast code because in c:\mydir\ are approx 2.000 files::(
AAAA-BBBB_04-05-2012.TXT
AAAA-BBBB_02-05-2013.TXT
AAAA-BBBB_02-06-2012.TXT
i need to cut from c:\mydir\ and copy in c:\mydir1\ all files based the current year -1 year.
in this case the file in question area:
AAAA-BBBB_04-05-2012.TXT
AAAA-BBBB_02-06-2012.TXT
note:
i need a fast code because in c:\mydir\ are approx 2.000 files::(