Xcopy doesn't copy, just 0?

Tech-IO

By using the command below it works, but without copying anything.

xcopy "F:/*.*" "G:/some Thing" /s /e /c /h /i /d /r /k /y /z 
PAUSE

It shows:

0 Files copied

It's the same with or without switches. Maybe some switches or commands needs to be changed?

Ƭᴇcʜιᴇ007

You're using the wrong slash (/) in your paths, making them invalid. Xcopy doesn't know how to handle those invalid paths, and therefore copies no files.

Use the backslash (\) instead.

i.e.:

xcopy "F:\*.*" "G:\some Thing" /s /e /c /h /i /d /r /k /y /z

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related