This article was previously published under Q101507
The system administrator specifies a home directory in the User Manager, inthe user profile properties. Windows NT sets the following threeenvironment variables based on the value of the home directory:
HOMEDRIVE HOMEPATH HOMESHARE
For example, these three environment variables could contain the following:
NOTE: HOMESHARE could contain a local drive instead of a server and share.If no home directory is specified, Windows NT uses the following values bydefault:
HOMEDRIVE=<drive where Windows NT is installed> HOMEPATH=\users\default HOMESHARE=
NOTE: If the \USERS\DEFAULT directory does not exist on the drive that has Windows NT installed, HOMEPATH is set to the \USERS on that drive; if the \USERS directory does not exist, HOMEPATH is set to the drive that has Windows NT installed.The default directory the Command Prompt displays is the equivalent ofHOMEDRIVE plus HOMEPATH.
If a user has the home directory set to \\<server>\<share>\<path>, theCommand Prompt does not display the specified directory if the server isnot available for any reason. The only method to determine what failed whenthe Command Prompt does not display the specified directory involveschecking the event logs and verifying that everything is installedproperly.