摘要:
使用PowerShell批量注册DLL到GAC一段很小的代码,注册当前目录下所有的DLL到GAC,请先把gacutil.exe复制到同一个目录。$Path = Get-Location $Dir = Get-ChildItem "$Path" -Recurse $Dlls = $Dir | Where { $_.extension -eq ".dll" } $Dlls | ForEach-Object { .\gacutil.exe -i $_.name } 阅读全文
posted @ 2012-05-25 12:59
JunjieChang
阅读(489)
评论(0)
推荐(0)