The equivalent variable under Windows is %HOMEPATH% - I think it worth a note here too.