一段很小的代码,注册当前目录下所有的DLL到GAC,请先把gacutil.exe复制到同一个目录。 $Path = Get-Location$Dir = Get-ChildItem "$Path" -Recurse$Dlls = $Dir | Where { $_.extension -eq ".dll" }$Dlls | ForEach-Object { .\gacutil.exe -i $_.... Read More
posted @ 2012-03-13 15:26 Lambert Qin Views(871) Comments(2) Diggs(1) Edit