XCOPY: Overwrite all without prompt in BATCH January 1, 2023 by Tarik The solution is the /Y switch: xcopy "C:\Users\ADMIN\Desktop\*.*" "D:\Backup\" /K /D /H /Y