I want to copy a folders content into another folder, but some of the files have an "&" in the name and are not carried over.
Any ideas?
Code: Select all
xcopy "P:\Test" "\\test\test\Data Feeds" /-Y
pause
Moderator: DosItHelp
Code: Select all
xcopy "P:\Test" "\\test\test\Data Feeds" /-Y
pause
OU_GUY wrote:Hello,
I want to copy a folders content into another folder, but some of the files have an "&" in the name and are not carried over.
Any ideas?Code: Select all
xcopy "P:\Test" "\\test\test\Data Feeds" /-Y
pause
GeekyGuyJax wrote:OU_GUY wrote:Hello,
I want to copy a folders content into another folder, but some of the files have an "&" in the name and are not carried over.
Any ideas?Code: Select all
xcopy "P:\Test" "\\test\test\Data Feeds" /-Y
pause
Try this:
"P:\Test\*.*" "P:\test\test\Data Feeds" /S /Q /Y /C
GeekyGuyJax