adding pausebutton to windows batchmode