Should Ctrl-C interrupt a COPY?

  • This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
#1
Ctrl-C doesn't seem to interrupt a COPY. In my test, I copied a 500MB file from one drive to another (simply, "COPY 500meg y:\") ... about an 8-second job. I held Ctrl-C the whole time; it was not interrupted.

Originally (and ill-advisedly) I started a 500MB copy to a share on an internet VPN and found I couldn't stop it.
 

rconn

Administrator
Staff member
May 14, 2008
10,103
85
#3
Ctrl-C doesn't seem to interrupt a COPY. In my test, I copied a 500MB file from one drive to another (simply, "COPY 500meg y:\") ... about an 8-second job. I held Ctrl-C the whole time; it was not interrupted.
That's Windows -- the copy is done inside a (non-interruptable) Windows API.

This is not actually 100% true -- there are some types of COPY (like /A) that copy in blocks, and others (like /G) that do a callback and can be interrupted.