使用PowerShell批量注册DLL到GAC
2014-04-21 13:39
253 查看
一段很小的代码,注册当前目录下所有的DLL到GAC,请先把gacutil.exe复制到同一个目录。
View Code
$Path = Get-Location $Dir = Get-ChildItem "$Path" -Recurse $Dlls = $Dir | Where { $_.extension -eq ".dll" } $Dlls | ForEach-Object { .\gacutil.exe -i $_.name }
View Code
相关文章推荐
- 使用PowerShell批量注册DLL到GAC
- 使用PowerShell批量注册DLL到GAC
- 使用PowerShell批量注册DLL到GAC
- NSIS中使用批处理方式注册Dll到GAC的方法
- sharepoint 使用命令行注册dll文件到gac的方法
- sharepoint 使用命令行注册dll文件到gac的方法
- 招商银行支付dll在64位windows系统下的注册使用问题
- DLL注册到GAC
- win7 64位下使用regsvr32注册activex dll
- 现在介绍一种使用资源文件,将dll、ocx打包进exe,点击直接注册的例子:
- [转]PhotoshopCS5 Extended使用atmlib.dll破解注册后没有3D菜单之解决方法
- Win7下使用VS2013编写的ActvieX在XP下注册提示:LoadLibrary("XXX.dll")失败-找不到指定的程序
- 注册使用GAC—Global Assembly Cache(.NET)
- 将dll注册到GAC的简单图解教程
- 注册DLL文件命令的使用方法及详细说明
- MS-DOS下使用命令行注册指定目录下所有dll进注册表
- 注册dll到GAC
- vs2010 ocx项目中使用ffmpeg release版本注册提示缺少DLL
- 注册使用GAC【转载】
- 使用 Setup Factory 注册DLL文件 截图说明