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
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
相关文章推荐
- CopyFile and Directory By channel
- How to add, modify, or delete registry subkeys and values by using a registration entries (.reg) file
- Copy file cross Hyper-v Server and VMs 实现虚拟机和主机的文件分享
- OpenCV *.dll文件提示错误:cannot find and open the PDB file.
- Create, Read, Write, Copy, Move and Delete a Text File using C# and VB.NET
- Maven generates jar file with main class setting and dependency libs copy
- How to Copy Archivelog Files From ASM to Filesystem and vice versa
- Create, Read, Write, Copy, Move and Delete a Text File using C#
- How to create .lib file when you only have .dll and .h files
- Create, Read, Write, Copy, Move and Delete a Text File using C#
- 这个dll_CopycatAndHide 的masm源代码
- 20100513 学习记录 Unable to copy file .dll to .dll. The process cannot access...
- Csharp: Create Excel Workbook or word from Template File using aspose.Word 14.5 and aspose.Cell 8.1
- Docker Dockerfile COPY vs ADD
- mongodb exception in initAndListen: 12596 old lock file, terminating解决方法
- Csharp:The .dat File using BinaryReader and BinaryWriter Convert to DataTable
- 进程间同步(互斥) 以及 同一DLL的不同进程copy共享全局变量
- How to resize a *.jpg image and save the result to a file
- Memory allocation and deallocation across dll boundaries