PowerShell 【PowerShell】カレントディレクトリをスクリプトがあるディレクトリに変更する バッチファイルでは「cd /d %~dp0」としていたものは、PwerShellにすると「Set-Location -Path $PSScriptRoot」とします。・$PSScriptRoot は、PowerShellスクリプトがあるディ... PowerShellWindows