net use in netware script for NT 4.0 Share
Posted on 1998-01-28
I am migrating from Netware to NT 4.0 server and I plan to migrate groups of users at a time. I would like everyone to use the NT shared drive instead of Netware shared drive right away and then slowly move home directories to NT. I tried to put a net use command in the Netware login script to connect users to NT server's shared drive , but it did not work. In the login script I put the name of the batch file to run.
This is what I put in my Netware login script:
#command.com /c "k:\ntlogin.bat"
Inside the ntlogin.bat file is this:
net use x: \\ntserver\share
I get an error saying that you have to log in first in order for this to work. But it works fine when I am logged into Netware and run a net use command manually, so the syntax of the net use is fine but it doesn't work in the Netware script. Any help that anyone can give me would be greatly appreciated. Thank you in advance.