Today encountered a write in the bat file to perform Xcopy success, but some of the file lost problems, view the log, found a lot of hints:
"The system can not find the path specified."
But to see under the specified path, the file does exist, and in the same folder, one file is successfully copied and the other one does not exist.
Online search, mostly referred to the problem of too long file name.
File names are supported by default of 258 characters.
Finally run to ask whether it is a permission problem caused, in fact, is not likely to find them to ask whether there is no solution, the online program is, CD to the specified directory, shortened xcopy write parameter file path. But virtual network disk Ah, how to go into the CD Ah, impossible Ah!
It gives a wonderful solution to share here:
In the computer directory, you can see the MAP network drive. Just use it!
How to configure, very simple, select a drive letter, paste the actual physical path. OK, the new drive letter is generated.
cleverly resolves an issue where the Windows Copy command does not accept too long paths