We have a file that we had been importing every five minutes. The script we had been using assumed one file and it was moved and renamed when the script was run. Unfortunately our file provider is now sending multiple files and the script does not take that into account.
The file names will always start with the first 5 letters the same and then have a few characters that the provider adds to the file name and then ending with a .TXT file type.
Below is the script that had been in place that handled one file at a time.
move "%FromDir%\Vexport.txt" "%ToDir%\fedexport-%MyDate%-%MyTime%.txt"
I would guess it would need a If structure of some sort, but I dont know how to do that. It needs to process all of the files.
This is going to be on a Windows server 2003 standard box.
Thanks for your help!