Board logo

标题: [其他] bat脚本怎么自己隐藏自己的黑窗口? [打印本页]

作者: wanghaoyu0828    时间: 2023-6-27 18:39     标题: bat脚本怎么自己隐藏自己的黑窗口?

bat怎么自己隐藏自己的黑窗口
作者: Batcher    时间: 2023-6-28 09:09

回复 1# wanghaoyu0828


参考:批处理后台隐藏运行的11种思路
http://bbs.bathome.net/thread-3271-1-1.html
作者: jyswjjgdwtdtj    时间: 2023-6-28 18:27

加个这?
powershell -windowstyle hidden "exit"
作者: 0475    时间: 2023-6-30 16:23

if "%1"=="h" goto begin
start mshta vbscript:createobject("wscript.shell").run("""%~nx0"" h",0)(window.close)&&exit
:begin




欢迎光临 批处理之家 (http://www.bathome.net/) Powered by Discuz! 7.2