Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

xcopy command returns   invalid drive specification

Posted on 2009-06-29
5
Medium Priority
?
894 Views
Last Modified: 2012-05-07
I am trying to find out why  when I run the following command I get the invalid drive specification returned from xcopy when I try to copy a file from a remote server to the local server.

xcopy \\xxx.xxx.xxx.xxx\share d:\share

also tried


xcopy "\\xxx.xxx.xxx.xxx\share" "d:\share"

xcopy "\\xxx.xxx.xxx.xxx\share d:\share"

I can ping the remote server and have opened IP and ICMP thru the firewall. Both servers has the same user name and password configured. Everyone has full access to both the network share and and the local folder. I have the same problem regardless of which remote machine I try the command from. If I try from a local machine it works. It would seem to be a firewall issue. Anyone have any idea of what to open to allow this data tramsfer to work?
0
Comment
Question by:jimmylew52
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 13

Expert Comment

by:3nerds
ID: 24737437
0
 
LVL 1

Author Comment

by:jimmylew52
ID: 24737675
I opened port 445 on both routers and still get

invalid drive specification   returned from the xcopy command
0
 
LVL 13

Accepted Solution

by:
3nerds earned 2000 total points
ID: 24737943
You may need the following ports open as well. But I would look at the logs on your firewall and see what ports are being blocked. Also keep in mind the ports have to be open in both directions.

netbios-ns 137/tcp nbname
netbios-ns 137/udp nbname
netbios-dgm 138/udp nbdatagram
netbios-ssn 139/tcp nbsession

Regards,

3nerds
0
 
LVL 1

Author Comment

by:jimmylew52
ID: 24738208
All outgoing traffic is allowed on both routers.  TCP and UDP have been allowed into the remote server. I will check the local.
0
 
LVL 1

Author Comment

by:jimmylew52
ID: 24738935
Opened  netbios ports on the local router. TCP and UDP were already open on the remote router.

Still get the same response

invalid drive specification   returned from the xcopy command
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It happens many times that access list (ACL) have to be applied to outgoing router interface in order to limit some traffic.This article is about how to test ACL from the router which is not very intuitive for everyone. Below scenario shows simple s…
Creating an OSPF network that automatically (dynamically) reroutes network traffic over other connections to prevent network downtime.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

715 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question