Discussion Locked

Login script home directory NT

0 helpful
4 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I am setting up home directories for all my users. Some of them have NT Workstations 4.0 and others have Windows 95. The problem is with the Windows 95 users. I have created home directories for all of them. The login scrip reads like this:
NET USE V: \\TX\MIS - this is a group share
Net USE X: \\TX\%USERNAME% -this is supposed to point to the user's home directory. So far only one Windows 95 is able to setup the second line of the script, All Windows NT ran the script fine. it seems that the Windows 95 does not recognize the variable
%USERNAME%, they only map the first NET USE command and error out in the second one.

4 replies

by mckaytech

I don't have an immediate answer for you, but you're right that Win95 doesn't recognize the username. In NT, username is an environment variable (you can see a list of the environment variables by typing the word "set" at a DOS prompt) and it's there by default, but in Win95/98, it's not.

There is a way to set a username environment variable in Win95 but I just can't come up with it at the moment, but maybe someone else on the forum has the information at hand.

paul

by corewarrior

It may be that your W95 workstations are not time sychronized with the server's time.use the net time command.Put this line in the script.
net time \\server /set /yes

This discussion is closed to new replies.