윈도우 환경변수 USERPROFILE

(%USERPROFILE%에서 넘어옴)

1 개요[ | ]

%USERPROFILE%
$env:USERPROFILE
윈도우 환경변수 USERPROFILE

2 PowerShell[ | ]

PS C:\Users\user1> echo $env:USERPROFILE
C:\Users\user1
PS C:\Users\user1> echo $env:HOMEDRIVE$env:HOMEPATH
C:\Users\user1
PS C:\Users\user1> echo $env:HOMEDRIVE
C:
PS C:\Users\user1> echo $env:HOMEPATH
\Users\user1

3 cmd[ | ]

C:\Users\user1>echo %UserProfile%
C:\Users\user1
C:\Users\user1>set USERPROFILE
USERPROFILE=C:\Users\user1

4 같이 보기[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}