code show as below:
@echo off :main cls ipconfig @pause
ipconfig can be changed to other CMD commands