Report question

Question: how to avoid cmd will be closed after a batch was executed?