I find this post very usefull. I was wondering if it is possible to apply an additional condition to this: can we narrow the search to a specific filename mask?
For instance, srcDir contains files named DATPxxxx; DTRPxxxxxxx; RTDxxxxxxx;
The purpose is to find the latest modified file on the folder, that matches the mask DTRP....
In what way would it be possible using this same Batch file?
Thks in advance.