<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2873" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=188051103-26042006><FONT face=Arial 
color=#0000ff size=2>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...</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=188051103-26042006><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=188051103-26042006><FONT face=Arial 
color=#0000ff size=2>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.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=188051103-26042006><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=188051103-26042006><FONT face=Arial 
color=#0000ff size=2>HTH again,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=188051103-26042006><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=188051103-26042006><FONT face=Arial 
color=#0000ff size=2>Conor</FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
</DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT 
face=Tahoma><FONT size=2><B>From:</B> delphi-bounces@ns3.123.co.nz 
[mailto:delphi-bounces@ns3.123.co.nz] <B>On Behalf Of </B>Paul A Norman<BR><SPAN 
class=188051103-26042006><FONT face=Arial 
color=#0000ff>&nbsp;</FONT></SPAN></FONT></FONT></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>Thanks guys,</DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT>&nbsp;</DIV>
<DIV>I had tried </DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
  <DIV>net use &nbsp;<A href="file://\\computer">\\computer</A> 
password</DIV></BLOCKQUOTE>
<DIV>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.</DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT>&nbsp;</DIV>
<DIV>I'll look into WNetAddConnection again.</DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT>&nbsp;</DIV>
<DIV>&nbsp;. .what is happening here is that users on peer to peer Xp &nbsp;who 
have a shared resource like a printer, are for modern security reasons, putting 
a password on the Guest account.</DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT>&nbsp;</DIV>
<DIV>The means that any app on other users systems trying to use the shared 
printer, need to authenticate themselves manually first.</DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT>&nbsp;</DIV>
<DIV>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 <A href="file://\\computer">\\computer</A> they are supposed to 
connect to, etc&nbsp; . . </DIV></BODY></HTML>