Re: Share mapping issue
- From: "J.Couch via WinServerKB.com" <u14461@uwe>
- Date: Wed, 30 Nov 2005 06:48:23 GMT
try replacing computer names with IP addresses IE:
wshNet.MapNetworkDrive "f:","\\192.168.1.10\share\"
You may be having an issue with DNS... so I would also throw a ping to the
server by server name and see if you get a response...
Hope that helps...
Fly wrote:
>Hello,
>
>I have a custom made vbs script which works fine in a test
>environment. Once moved into production it does not work, it give
>error 67.
>
>The server is win 2003 std dc. The os is win xp.
>
>If I make a batch file it also give the same issue for mapping drives
>to a share. I also mapped the drives via my computer and all works
>with out any problems.
>
>I have also pinged the sever by IP address and via the name and all
>works fine. I alos did a net view of the server and that works fine.
>
>What am I over looking and why can I not map a drive via a batch file
>or vb script.
>
>Thanks, P
--
Message posted via WinServerKB.com
http://www.winserverkb.com/Uwe/Forums.aspx/windows-server-scripting/200511/1
.
- References:
- Share mapping issue
- From: Fly
- Share mapping issue
- Prev by Date: Re: win 9x logon script
- Next by Date: Re: delete files older than 3 months
- Previous by thread: Share mapping issue
- Next by thread: formula to calculate kb to mb
- Index(es):
Relevant Pages
|