SyntaxFix
Write A Post
Hire A Developer
Questions
You're going to be disappointed: %userprofile%
%userprofile%
You can use other terminals, though. Powershell, which I believe you can get on XP and later (and comes preinstalled with Win7), allows you to use ~ for home directory.
~