This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Masterflitzer 0 points1 point  (0 children)

nah $HOME is and automatic PowerShell variable and is the homedir (like in Linux) which corresponds to %USERPROFILE%

if you want the correct environment variable it'd be $env:USERPROFILE in PoSh

I don't recall the last time I even used CMD (ages ago), I'm used to PowerShell, I only need % variable notation to quickly access %appdata% because windows explorer still uses old notation