I am having to run a batch file to communicate with an AS400 (this cannot be changed) and I want to find out when the batch file has finished

Any help would be appricated

Cheers

Chris