is there any way to force copy? copy without overwrite prompt, using windows?
WindowsCommand LineWindows Problem Overview
I want to write a list of windows commands(it's a long list) where it does all these magical things for me, but whenever I use copy, it stops to ask fro overwrite prompt. When I type yes, it overwrites the old file then just stops there.
How do I make it such that whenever the windows sees the copy command, it just overwrites the old file without that prompt?
Windows Solutions
Solution 1 - Windows
You're looking for the /Y
switch.
Solution 2 - Windows
MOVE /-Y Source Destination
Note:/-y will make the announcement of yes/no for overwrite