Retrieve login name from Novell server via command line or VBScript
Posted on 2003-02-28
Preliminary note : I don't want to install Novell Client32.
I have installed Microsoft Client for Novell Server and made a shorcut on the desktop to my Novell server.
When I double clic on the shortcut, I just have to fill my login and password to login/attach to it.
By right clicking on it, I have "Who am I..." "Close session" and "Attach as...".
What I would like to do is to retrieve (with a command line or VBScript) the login name to map user's private drive :
X: mapped for \\Server\Volume\Users\Letter\LoginName (for example : \\Server\Volume\Users\J\John)
And if you know how to login/attach to a novell server via command line or VBScript, please tell me.
(For loggin out, WScript.DisconnectObject WSHNetwork seems to work in VBScript
In a nutshell, what I want is to do to same things I can do by right clicking on my Novell server shorcut, BUT with a command line or VBScript).
I'm new here and I give all the 75 points I got (I don't know how) to who can help me.
Thanks a lot.