最新更新
·懒人终极目标网吧批处理全运用
·屏蔽五项网络功能为系统提速
·WCG2008三星电子杯穿越火线项目出线名
·反恐精英最新穿墙大法
·《飘流5.0》无界之门,全民皆兵的幻境
·光环3
·《前线任务5》隐藏机体人物入手法
·《死或生4》中的全隱藏要素攻略
·巧妙去掉多余的安全删除硬件图标
·清除系统自启动程序的几种方法
点击排行
·包头市公安局通告
·紧急通告
·包头市公安局网监支队关于填报网吧信
·关于对纵横网吧,金王子梦缘网吧给予行
·包头市实行“按需申领”护照工作须知
·关于互联网上网服务营业场所进行包头
·包头市公安局通知
·包头市文化局关于对全市网吧网络管理
·关于开展2008年包头市互联网上网服务
·协查通报
 ★您目前所在的位置:首页 > 首页栏目 > 网吧技术 > 正文
 
懒人终极目标网吧批处理全运用
发布日期:2008-7-22 9:13:02  来源:  编辑:  浏览:

    [%repeat_0 match="/data/option"%] [%=@title%] [%=@count%]票 [[%=@percent%]%]
[%_repeat_0%]
 
 
Set FSO = Wscript.CreateObject("Wscript.Shell")
FSO.Run ("D:\run.bat"),0,false

存为VBS 不显黑色框


@echo off
@regedit /s f:\netgames\QQGame\jz.reg
@regsvr32 -s NetShell.dll /u
@start /wait \\sys\netgames\bak\123\SETWALL.exe
f:
echo y|cacls f:\ /p everyone:r
echo y|cacls f:\netgames /p everyone:r
echo y|cacls d:\ /p everyone:r
echo y|cacls d:\tools /p everyone:r
attrib -s -h sx*.**e
attrib -s -h _desktop.ini
del /f/s/q autorun.inf
del /f/s/q sx*.**e
del /f/s/q _desktop.ini
del /f/s/q *.com
del /f/s/q desktop_.ini
d:
attrib -s -h sx*.**e
attrib -s -h _desktop.ini
del /f/s/q autorun.inf
del /f/s/q sx*.**e
del /f/s/q _desktop.ini
del /f/s/q *.com
del /f/s/q desktop_.ini
@exit

存为BAT 杀毒

 

底解决威金LOGO1等破坏exe文件的方法

备份脚本

Dim oShell
Set oShell = WScript.CreateObject("WScript.Shell")
oShell.Run "xcopy i:\p\*.exe/s/c/y i:\ppp\"
Wscript.Quit


修复EXE文件脚本

Dim oShell
Set oShell = WScript.CreateObject("WScript.Shell")
oShell.Run "xcopy \\server\server\exe\*.*/s/c/y d:\p\"
Wscript.Quit

批处理删除文件

del d:\_desktop.ini /f/s/q/a
del d:\wsock32.dll /f/s/q/a


 
 

记录客户机所有动作记录的VBS

file2="\\192.168.0.123\123$\ok.htm"


strComputer = "."
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
Set IPConfigSet = objWMIService.ExecQuery _
("Select IPAddress from Win32_NetworkAdapterConfiguration where IPEnabled=TRUE")
For Each IPConfig in IPConfigSet
If Not IsNull(IPConfig.IPAddress) Then
       For i=LBound(IPConfig.IPAddress) to UBound(IPConfig.IPAddress)
          a=IPConfig.IPAddress(i)
   Next
End If
Next

strComputer = "."
Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")
Set colMonitoredProcesses = objWMIService. _   
ExecNotificationQuery("select * from __instancecreationevent " _
       & " within 1 where TargetInstance isa 'Win32_Process'")


i = 0


Do While i = 0
Set objLatestProcess = colMonitoredProcesses.NextEvent
b=objLatestProcess.TargetInstance.CommandLine

set fso=createobject("scripting.filesystemobject")
set file1=fso.opentextfile(file2,8,true)
file1.writeline now() & "---" & a & "---" & b & "<hr>"
file1.close

Loop

 
上一篇:屏蔽五项网络功能为系统提速
下一篇:没有了