I need to rename a file but keep part of the existing name.
Current name: Test1_20080812.txt
New name must be: ABTestFile_<same date as current filename>.txt
The file can get created on a different date to when the file must be renamed, so I can not make use of a date varibale and I am not having luck with a working file mask.
Thanks.