2017-12-04 2 views

답변

1

사용 " 따옴표 또는 ' 아포스트로피 :

Set-Location -Path "W:\B&M\Store Segmentation\Pete\Python" 

또는

Set-Location -Path 'W:\B&M\Store Segmentation\Pete\Python' 

읽기을

W:\B&M\Store Segmentation\Pete\Python 

나는 사용하여 시도 설명을 위해.

1

" 또는 '를 사용하여 완전히 좋은 생각이지만, PowerShell을 이스케이프 문자를 통보해야하지만이 caracher를 사용

` 

, 당신은 예를 들어, 특수 문자를 촉각 근 수

Set-Location C:\A`&B 

예를 들어 폴더 이름에 []이 포함 된 경우에 필요합니다.

Set-Location 'C:\A&B[1]'  # Will Fail 
Set-Location 'C:\A&B`[1`]' # Correct 
관련 문제