Error message "Invalid Path, 0 files copied" Using XCOPY Command
- XCOPY \\<server>\<share>\<file(s)> <destination>
- XCOPY32 \\<server>\<share>\<file(s)> <destination>
- Right-click the shortcut (.pif file) you use to start the command prompt, and then click Properties.
- On the Program tab, click Advanced.
- Click to clear the "Prevent MS-DOS-based programs from detecting Windows" check box, and then click OK.
- Click OK.
Method 1Map a network drive pointing to the share you want to use by either:
- Browse to the share from which you want to copy files in Network Neighborhood, right-click the share, click Map Network Drive, click the drive letter you want to map to that share, and then click OK.
- Click Start, and then click Run. Type "\\<server>" (without quotation marks), where <server is the name of the server containing the share you want to use, and then click OK. In the window that opens, right- click the share you want to use, and then click Map Network Drive. Click the drive letter you want to use, and then click OK.
Method 2Use the COPY command instead the XCOPY or XCOPY32 command. When you usethe COPY command, you can use Universal Naming Convention (UNC) paths todefine the server you want to use. Note that the COPY command cannot copyfolders within the selected folder.
The COPY command does work in this case because the COPY command is aninternal Command.com command, instead of a program running on top ofCommand.com. Therefore, the COPY command can use the network redirector.
Article ID: 192808 - Last Review: 12/05/2015 09:17:35 - Revision: 1.2
- kbnosurvey kbarchive kbenv kberrmsg kbprb KB192808