XCOPY: Overwrite all without prompt in BATCH

Solution 1:

The solution is the /Y switch:

xcopy "C:\Users\ADMIN\Desktop\*.*" "D:\Backup\" /K /D /H /Y