PowerShell: Set-Location: A positional parameter cannot be found that accepts argument '-'
PowerShell에서 하이픈이 포함된 경로로 이동할 때 발생하는 오류의 원인과, 따옴표로 감싸 해결한 방법을 정리했습니다.
PowerShell: Set-Location: A positional parameter cannot be found that accepts argument '-'
호스팅으로 올려둔 이미지를 복구할 수가 없네요. 글이라도 도움되시길
문제점
위와 같이 - 문자가 있는 경로로 이동하려 할 때 에러가 발생했다.
해결
따옴표로 경로를 묶어주어 해결하였다.
참고
This post is licensed under CC BY 4.0 by the author.