Dim obj_shell
set obj_shell = createobject("wscript.shell")
host = WScript.FullName
If LCase( right(host, len(host)-InStrRev(host,"\")) ) = "wscript.exe" Then
      obj_shell.run "cmd /c title 检测工具 &&  cscript.exe //nologo " & chr(34) & wscript.scriptfullname & chr(34)     'title为弹框标题内容
     Wscript.quit
else
        WScript.Echo "检测数据库环境变量...."

        WScript.Echo "5秒后自动退出..."
        WScript.Sleep 5000  

end if

相关文章:

  • 2021-06-30
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-29
  • 2021-08-19
  • 2021-08-04
  • 2022-12-23
猜你喜欢
  • 2021-11-18
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-17
  • 2021-07-28
相关资源
相似解决方案