Net Use Command

D

Dave

Hello,

I am having some difficulty in mapping a drive to a different domain. I have
some users that all need access to a common area for a bid proposal, they
reside in different domains.

I would like to make a bat file that will be used as there login script with
the username amd password required to map the drive in the bat file. I can
not get this to work, has any body got any ideas on the correct syntax. I am
trying to use the net use x: \\servername\share but dont know how to add the
username and password to this command.

Any help appreciated

Thanks


Thanks
 
J

Jeff Cochran

I am having some difficulty in mapping a drive to a different domain. I have
some users that all need access to a common area for a bid proposal, they
reside in different domains.

Domain trusts.

Jeff
 
A

Arild Bakken

If the clients are NT4.0, Win2K, or WinXP you can use:

net use x: \\servername\share /user:domain\username password


where domain\username is the domain and username of the server you're
connecting to.


Arild
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top