Discussion Locked

Login scripts and home folders

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

I have a login script that will not map the home directory on a 98 machine. I used the following syntax

h: \\server\users\%username%

Does anyone have an idea why this won't work?
I can get the drive to map from the 98 machine, but not in thelogin script. Thanks in advance.

10 replies

by qb

If you are mapping the drive then you have to use the "NET USE" command. so the line would be "net use h: \\server\users\%username%". You can do a net use /? for more information an the exact syntax.

by spank

I am using the net use command. Sorry I didn't put that in the question. Thank you anyway.

by spank

I keep forgetting to tell you guys important information. It's on a Windows 2k advanced server

by spank

Thank you very much. I feel like a knuckle head for not looking there first. I've also had the same problem with a WIn2k pro machine, but I think that's anoth issue altogether. thank you again.

by frobo

The Answer two is right, here the article:

The following variables are not supported in Windows 95/98:

- %UserName%

- %OS%

- %UserDomain%

- %ComputerName%

STATUS
======

This behavior is by design.

MORE INFORMATION
================

This functionality is possible using KiXtart logon scripts. For additional
information about this, click the article number below to view the article in
the Microsoft Knowledge Base:

Q162793 How to Set Up KiXtart LogonScripts for a Windows 95 Client

Frobo

This discussion is closed to new replies.