后台?不显示cmd窗口是吗。可能要调用vbs了。。。把以下代码放到cmd代码的最前面
if "%1"=="h" goto begin start mshta vbscript:createobject("wscript.shell").run("""%~nx0"" h",0)(window.close)&&exit :begin