首页 > 其他 > 详细

隐藏vbs执行cmd命令的窗口

时间:2015-04-16 19:25:17      阅读:490      评论:0      收藏:0      [点我收藏+]

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 "cscript """ & WScript.ScriptFullName & chr(34), 0
    WScript.Quit
End If

隐藏vbs执行cmd命令的窗口

原文:http://www.cnblogs.com/resie/p/4432759.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!