复制代码
- if "%1" == "h" goto :HHH
- mshta vbscript:createobject("wscript.shell").run("""%~nx0"" h",0)(window.close)&&Exit /B 1
- :HHH
- pushd "%~sdp0"&&Dism 1>nul 2>nul||mshta vbscript:CreateObject("Shell.Application").ShellExecute("cmd.exe","/c %~s0 "%*"","","runas",0)(window.close)&&Exit /B 1
欢迎光临 批处理之家 (http://www.bathome.net/) | Powered by Discuz! 7.2 |