Re: MapNetworkDrive problem
- From: "Philippe L. Balmanno" <plb2862@xxxxxxx>
- Date: Wed, 15 Jun 2005 03:55:13 -0700
"Eric van Uden" <eric[ @ ]doornroosje[ . ]nl> wrote in message
news:OkYpGuRbFHA.1504@xxxxxxxxxxxxxxxxxxxxxxx
> Hello,
>
> I suppose this is more of a networking question, but maybe some of you
> have experience with this.
> I have this code:
>
> -------------------------------------------
> letter = "Q:"
> target = "\\192.168.100.100\folder"
> account = "192.168.100.100\john"
> password = "sesame"
> Set fso = CreateObject("Scripting.FileSystemObject")
> Set nwo = CreateObject("WScript.Network")
> nwo.MapNetworkDrive letter, target, True, account, password
> -------------------------------------------
>
> A WindowsXP workstation with IP-address 192.168.168.11 will successfully
> create this mapping.
> A Windows 98SE workstation with IP-address 192.168.168.12 will fail.
> The problem seems to be that Windows 98 boxes will only map to drives in
> their own IP-range.
> The error message specifies that the network name is not found, and tests
> confirm that it is the 'target' part that causes the error.
>
> The mapping is only used inside the script, to copy a file to the mapped
> drive.
> Then the mapping is removed.
>
> Any clues to get this working for Windows 98 boxes would be welcome.
>
> Regards,
>
> Eric
Could the problem be that the (2) boxes have different levels of security.
I mean W98 uses share level security as opposed to XP. It required me to
setup a user account on XP before I could get my W98 box to see the XP's
drive as a mapped drive.
.
- Prev by Date: using API in vbscript
- Next by Date: Re: calling a user login script from a global login script
- Previous by thread: Re: MapNetworkDrive problem
- Next by thread: Activate Wordpad already running
- Index(es):
Relevant Pages
|