
Mapping home directory for win98 client on win2K server
The problem you're having is that there is no username variable on Win9x
systems. You needed to just make the assignment
net use P: /home
Here's the "Things to Verify" list since this is one of the major annoyances
in Win9x networking...
(1) From user manager, go ahead and make sure that each user's home path is
of the form \\myserver\users\\%username%
(2) make certain the home drive letter is "P:"
(3) Make the home directory assignment in the script as:
net use p: /home
Quote:
> I am trying to map the users home directory when he logs on to the win2K
> server network.
> I am using net use p: \\myserver\users /home, but I get the error message
> 'The syntax is incorrect'.
> I have tried net use p: \\myserver\%Username% etc but no good.
> (Users is a shared folder which has all the users home directories
> underneath.)
> I also map other drives during this script and they work fine.
> I realise this is not really a windows scripting host problem but I have
> tried all possible examples of doing this in vbscript for the win98 client
> but nothing works. So I am resorting to a good old batch file, but still
no
> luck
> any body got any ideas.
> regards
> Steve