If the net use thing is still an option, the net use
command on XP has a optional /SAVECRED parameter which seems to be supposed to
maintain the credentials used to connect...
net use /? doesn't give you much in the way of detail, but
at least it will give you the available parameters which might help you when
googling.
HTH again,
Conor
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Paul A Norman
Thanks guys,
I had tried
net use \\computer password
sucessfully, but the ok clearance does not appear to be system wide.
Explorer still requires a login even if subsequently launched from the same dos
prompt.
I'll look into WNetAddConnection again.
. .what is happening here is that users on peer to peer Xp who
have a shared resource like a printer, are for modern security reasons, putting
a password on the Guest account.
The means that any app on other users systems trying to use the shared
printer, need to authenticate themselves manually first.
People can do it manually by simply trying to open explorer on the UNC name
of the computer, be prompted for a password and then all is fine, other apps on
their workstation can now access shared resources on the remote computer, but
people forget to and then get bugged when they can not print! Or they forget the
name of the \\computer they are supposed to
connect to, etc . .
_______________________________________________ Delphi mailing list [email protected] http://ns3.123.co.nz/mailman/listinfo/delphi
