2
PowerShell에서 홈 디렉토리로 변경
cmd 명령 프롬프트 에서이 명령은 내 홈 디렉토리로 이동합니다. cd %UserProfile% PowerShell 명령 프롬프트에서 동일한 명령으로이 오류가 발생합니다. Set-Location : Cannot find path 'C:\%UserProfile%' because it does not exist. At line:1 char:3 + cd <<<< %UserProfile% + CategoryInfo : ObjectNotFound: (C:\%UserProfile%:String) [Set-Location], ItemNotFoundException + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.SetLocationCommand PowerShell에서 동등한 명령은 …