Windows 8 cmdの変更の可能性はありますか?
何らかの理由で、開発マシンでWindows 8を試してみることにしました。これまでのところ、非常に良いことですが、Powershellを起動しようとするまで、いくつかのカスタマイズがあり、PATH変更をから引き出すなどvcvars32.bat、さまざまな開発ツールすべてにアクセスできます。 最初に、スクリプトはここからhttps://stackoverflow.com/questions/138144/whats-in-your-powershell-profile-ps1fileからプルされ、x64 Powershellインスタンス内で実行できるようにいくつかの変更が加えられました。このような: function Get-Batchfile($file) { $theCmd = "`"$file`" & set" cmd /c $theCmd | Foreach-Object { $thePath, $theValue = $_.split('=') Set-Item -path env:$thePath -value $theValue } } function VsVars32($version = "10.0") { $theKey = "HKLM:SOFTWARE\Wow6432Node\Microsoft\VisualStudio\" + $version $theVsKey = get-ItemProperty $theKey $theVsInstallPath = [System.IO.Path]::GetDirectoryName($theVsKey.InstallDir) $theVsToolsDir = [System.IO.Path]::GetDirectoryName($theVsInstallPath) $theVsToolsDir …