주제

 

path 확인 하기

 

OS: Windows 10 Home

 

 

 방법

 

방법1) 파워스크립트 창을 열고 $env:path 입력한다.

PS C:\> $env:path

 

방법2) Get-ChildItem, gci, ls, dir 사용하기(gci, ls, dir은 Get-ChildItem의 별칭)

PS C:\> Get-ChildItem Env:\Path

or

PS C:\> gci Env:\Path

or

PS C:\> ls Env:\Path

or

PS C:\> dir Env:\Path

 

방법3) cmd로 이동해서 확인

cmd> path

 

 

 참고

 

환경 변수 정보

https://learn.microsoft.com/ko-kr/powershell/module/microsoft.powershell.core/about/about_environment_variables?view=powershell-7.3 

 

 

 관련글

 

2022.12.13 - [etc/Powershell] - [Powershell] 별칭 - Get-Alias, gal

 

 

728x90

+ Recent posts