Okay. More detailed.

I have a mix of NT 4.0 wkst and win2k pro workstations. I want to create a home directory for each user that logs on if one doesn't already exist, and map a drive to the created directory.

I want the drive letter to be H:
To avoid deep mapping, I will share each home directory (hidden share).

So the end result would be:

user1 logs in.

on \\server1 the script would look to see if the user has a home directory created. If there is one '\\server1\user1$' a H: will be mapped to it. If there is not a user1 directory, one will be created and a hidden share will be created, using the userid as the name.

I thought that
Use H: '\\server1' +@UserID+'$$'
would at least map the H:, but that doesn't seem to do the trick.
Thanks.