I have a txt file that gets uploaded to us on a nightly basis. This file is processed by one of our systems. On occasion this file has 2 or 3 blank lines at the very end. This causes issues when being processed. Need a way to remove these blank lines after it is uploaded before it gets processed. I'd prefer some sort of dos batch file or script. All lines have data except for the few at the end.