您的位置:首页 > 运维架构

Copy Dll File And Reg

2009-02-02 17:27 190 查看
Set fso = CreateObject("Scripting.FileSystemObject")
Set tfolder = fso.GetSpecialFolder(WindowsFolder)
'wscript.echo tfolder.PATH
SPath = "//wcdc1/software/crystalviewer/*.dll"
DPath = tfolder.PATH & "/system32"
fso.CopyFile SPath,DPath
Set tfolder = nothing
Set fso = nothing
Set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.Run "regsvr32 crviewer.dll"
WshShell.Run "regsvr32 sviewhlp.dll"
WshShell.Run "regsvr32 swebrs.dll"
set WshShell = nothing
WScript.quit
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  dll file