Newbie here, trying to figure out something while others are on vacation. We have an hourly processes that generates a file every hour 24/7. Daily, a directory is created, 20040707, and hourly files are created xyz1.dat, xyz2.dat, xyz3.dat... and so on. We have a second process that would send the last file created. Is it possible to have a batch file to change all the extensions to *.old, this way only one *.dat file is available? Secondly, if that is not possible, could I copy the last *.dat file created to another server, while deleting the previously copied *.dat?
Thanks!