Discussion Locked

Nt login Script for Win 95

0 helpful
2 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. All Windows NT ran the script fine. So far only one Windows 95 is able to setup the second line of the script, it seems that Windows 95 does not recognize the variable %USERNAME%, they only map the first NET USE command and error out in the second one.

2 replies

by guy

To map to the user's home directory, go to the USRMGR, Profiles, and connect the home drive there \\server\home\%username%

Then you can use the SUBST command in the logon batch file to enable everyone to connect to their own Share.

Here is an example
At a minimum, the script must do the following:
? Set RootDrive=Z:
? Subst %RootDrive% /d
? Subst %RootDrive% %HomeDrive%%HomePath%

This discussion is closed to new replies.