Yes, you can use
%HOMEPATH%, which is the full path of the user's home directory.
There are quite a few other useful variables available, such as %OS% (Operating System), or %WINDIR% (Windows system directory). See e.g.
for a list.
Actually, things are a bit complicated (as usual).
%HOMEPATH% only contains the path, without the drive letter, so will not work for
cding from a different drive. You can also use
%USERPROFILE%, which does contain the drive letter, and is usually the same directory as
The values of these variables, and which one is right for you, will depend on the Windows version and any changes by an administrator, as their values may be different (see e.g. the question Difference between profile and home path ).