I have had some issues with that as well. It seems that if you make it a .cmd from a .bat it fairs better. Give it a try and see if that works.
Thank you Mr. ja2013. It worked like a charm, and sorry for the late reply I was waiting our devel team make the change.