주제
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
'etc > Powershell' 카테고리의 다른 글
[Powershell] 배열 사용하기 (0) | 2023.02.23 |
---|---|
[Powershell] 사용하는 콘솔의 변수 확인하기 - Get-Variable, env(환경변수) (0) | 2023.02.22 |
[Powershell] csv 파일 읽는 중 에러, 한글 깨짐 - Import-Csv, The member "���" is already present. (0) | 2023.02.17 |
[Powershell] 별칭 - Get-Alias, gal (0) | 2022.12.13 |
[Powershell] 명령문에서 줄 바꾸기 (0) | 2022.12.01 |