On Jan 3, 12:19 am, [EMAIL PROTECTED] (Rob Dixon) wrote:
> If you mean that it doesn't report an error if you write
>
> AddConnection({ RemoteName => 'Nash' });
>
> then it's simply because you haven't asked it to do anything. You don'
Thanks to Rob and purlgurl, who answered me by mail. It turns out
RemoteName was wrong. Nevertheless, it worked when I didn't define
other RemoteShare parameters. Could anyone explain that?
Since I have a shared folder named Nash on computer named Nash, \\\
\Nash\\Nash did the trick.
On Dec 30, 3:42 am, [EMAIL PROTECTED] (Chas. Owens) wrote:
> What error does it return if you use a LocalName other than X:?
I have tried other LocalNames, tried uppercase and lowercase. It still
gives me ErrorCode 53 (the network path was not found)
:(
Happy New Year to all :)
Nash
--
On Dec 28, 7:11 pm, [EMAIL PROTECTED] (Chas. Owens) wrote:
> Hmm, does it still work when all you give it is the RemoteName?
Yes it does, that's what's puzzling me. I'll try using the strict and
warnings pragmas, the way I saw in other scripts.
Nash
--
To unsubscribe, e-mail
Ooops, accidentaly left the # characters in RemoteShare definition...
Disregard them. :)
Nash
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/
=> RESOURCEDISPLAYTYPE_SHARE,
# 'Usage' => RESOURCEUSAGE_CONTAINER,
'LocalName' => "X:",
'RemoteName' => "Nash",
};
$UserName = "No Name";
$Password
e;
$RemoteShare = {
'LocalName' => "X:",
'RemoteName' => "Nash",
};
$UserName = "No Name";
$Password = "";
$Connection = 1;
Win32::NetResource::AddConnection($Remote