I need a cmd- or bat-script that copies files based on a timeslot.
Posted on 2008-10-05
Hello, I need a cmd or bat script (Windows XP/NT) that copies files based on a timeslot. The audiologging of my radiostation writes files in a directory. The files have a unique name (date and time, example: BNR_20081003_10h00).) Every half our a new file will be written, which is ready after a half hour. When the file is ready (a new file is already busy writing), I want ONLY the latest ready file to be copied to another (network)directory. In other words: the copy of the latest finished file may take place as soon as the file is ready an a new file is being writed. Who can help me with a simple cmd / bat script?