当前位置: 首页 > news >正文

window开机启动无cmd脚本

window开机启动无cmd脚本

Set WshShell = CreateObject("WScript.Shell")
WshShell.Run "bash D:/x/x/x.sh", 0
Set WshShell = Nothing

 

注意设置默认打开方式为脚本