G
Guest
Hi,
I need to automate the connection of a network drive, but am having problems
with this. I am using minlogon, and have tried
net use s: \\server\share uname pass
from a bat file, but it still asks for the password, even though i give it.
I then tried :
WNetAddConnection2 API call, but this will not connect me to another
computer using new credentials.
Would adding a new user with a password help, but could i make it then login
automatically, and map the drive?
It seems to me to be a problem with the security side of things.
Cheers
elvis
I need to automate the connection of a network drive, but am having problems
with this. I am using minlogon, and have tried
net use s: \\server\share uname pass
from a bat file, but it still asks for the password, even though i give it.
I then tried :
WNetAddConnection2 API call, but this will not connect me to another
computer using new credentials.
Would adding a new user with a password help, but could i make it then login
automatically, and map the drive?
It seems to me to be a problem with the security side of things.
Cheers
elvis