赞
踩
bat批处理文件头加入
@echo off
if "%1" == "h" goto begin
mshta vbscript:createobject("wscript.shell").run("%~nx0 h",0)(window.close)&&exit
:begin
新建vbs脚本
CreateObject("WScript.Shell").Run "cmd /c D:/your.bat",0
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。