SET  ::WM_SYSCOMMAND=0x0112
SET  ::SC_MINIMIZE=0xF020

_SUB WinMenu, L20T100W200H100
    ITEM ITEM30,L10T1W50H30,CMD窗口, OnDO
_END

_SUB OnDO
    ENVI @this.SENDMSG=%WM_SYSCOMMAND%;%SC_MINIMIZE% 
    WAIT 1000 //看看效果再运行
    EXEC =cmd.exe
_END

WinMenu 