Set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.Run "regsvr32 actxprxy.dll"
WshShell.Run "regsvr32 oleaut32.dll"
WshShell.Run "regsvr32 actxprxy.dll"
WshShell.Run "regsvr32 mshtml.dll"
WshShell.Run "regsvr32 msjava.dll"
WshShell.Run "regsvr32 browseui.dll"
WshShell.Run "regsvr32 urlmon.dll"
set WshShell = nothing
WScript.quit
WshShell.Run "regsvr32 actxprxy.dll"
WshShell.Run "regsvr32 oleaut32.dll"
WshShell.Run "regsvr32 actxprxy.dll"
WshShell.Run "regsvr32 mshtml.dll"
WshShell.Run "regsvr32 msjava.dll"
WshShell.Run "regsvr32 browseui.dll"
WshShell.Run "regsvr32 urlmon.dll"
set WshShell = nothing
WScript.quit
本文介绍了一种使用WScript.Shell对象来注册多个DLL文件的方法。通过创建WScript.Shell对象并调用Run方法,可以实现对actxprxy.dll、oleaut32.dll等关键DLL文件的注册。
597

被折叠的 条评论
为什么被折叠?



