@echo off if "%1"=="h" goto begin start mshta vbscript:createobject("wscript.shell").run("""%~nx0"" h",0)(window.close)&&exit :begin //此处是你的应用的目录 D:\Code\redis\32bit\redis-server.exe