Our main login script contains a line that maps the user's home directory.
However, we also have lots of "generic" accounts that do not need home
directories. If a user who doesn't have a home directory logs in, they will
get an 8804 error in the script causing the script's display window to stay

Is there any way to have the script check for a home directory prior to the
map command? Some sort of IF, THEN, ELSE statement? Is there any way to
force the window to close if the script encounters an error other than to
not display the login results window?

Home directory names are the same as the usernames.