Xcopy in a bat file not copying any files – Win 11
Hi Mark, all:
I’ve created a bat file to run basic xcopy to move Documents, Pictures, Desktop content to external drives. On a friend’s brand new Dell laptop running Windows 11, the batch file runs but 0 files copied.
Here’s a sample line:
xCopy “C:\Users\Robert\Desktop\*.*” d:\Robert\Desk /s /y /v /i /q /h /r /m
Strangely, when I open a CMD window and paste such a command in it, it WORKS! So, why not in the bat file?
Viewing 2 reply threads