set HOME
HOMEDRIVE=C:
HOMEPATH=\
USERDOMAIN=user01
USERNAME=user01
USERPROFILE=C:\Documents and Settings\user01
Microsoft Windows XP [Version 5.1.2600]
On the Windows boxes I've tested until now, USERPROFILE=%HOMEDRIVE%%HOMEPATH%
When I originallydecided to go with HOMEDRIVE/HOMEPATH, I read an article that said it was the safest way to go.
What would be causing HOMEPATH to be /?
If commands are needed to be executed on this machine, please put them in the form of a batch file. Thank you.