[DUG] connection to a UNC folder with remote user and password
onlocal LAN
Conor Boyd
Conor.Boyd at trimble.co.nz
Wed Apr 26 14:43:13 NZST 2006
Dunno if this will do what you want:
net use m: \\Bob /user:[domainname\username] [password]
which would map a remote folder to a drive letter which you could then
use to open in Explorer using ShellExecute.
net use /? at a command prompt will give you some more info.
HTH,
Conor
________________________________
From: delphi-bounces at ns3.123.co.nz [mailto:delphi-bounces at ns3.123.co.nz]
On Behalf Of Paul A Norman
Hi all!
Under win32 Can I use say shellexecute to opon win explorer and connect
to a remote LAN folder say
\\Bob with username xx and password yy
is the usernam / password sending I'm not sure about. And I can't seem
to pose the right query on google, mnsdn etc
Any ideas please?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ns3.123.co.nz/pipermail/delphi/attachments/20060426/74f54c5b/attachment.html
More information about the Delphi
mailing list