Rick Strahl's Weblog  

Wind, waves, code and everything in between...
.NET • C# • Markdown • WPF • All Things Web
Contact   •   Articles   •   Products   •   Support   •   Advertise
Sponsored by:
Markdown Monster - The Markdown Editor for Windows

A File Copy Conflict Dialog Box in Windows? Really?


:P
On this page:

It only took 15 years of Windows to get this type of dialog in Vista when copying files:

 http://west-wind.com/weblog/images/21/o_FileInUseDialog.png

 

Just in case you forgot: When you copy a bunch of files in Explorer with Windows XP and prior and the copy encounters a file is in use, Explorer throws you a warning dialog with no options and simply aborts the copy. Ok, ok, if I copy large numbers of file I try to remember to use something else to copy or move (beyond compare most of the time), but of course I don't always remember.

 

The Skip button – ah, it’s amazing that we have people at Microsoft talk about advanced UIs for the future when it took them this long to figure out that a simple Skip File or Retry operation might be useful when copying 10 gigabytes of data between drives some of which may be accidentally in use… Gee, where were those guys at the Microsoft Usability Labs all this time – I’m sure I was the only one who’s ever cursed half way through a huge file copy that an aborted file copy stopped in the middle of the transfer with no idea which file even bonked.

 

Ah, the little things in life. Pathetic as it is...

 

 

 


The Voices of Reason


 

Jamie O
June 13, 2006

# re: A File Copy Conflict Dialog Box in Windows? Really?

Man - I agree!

Nothing worse than a copy aborting on the 450th file out of 460...

Darrell
June 13, 2006

# re: A File Copy Conflict Dialog Box in Windows? Really?

That sort of thing is just maddening! I can't count the number of times I have run into that situation. Maybe that says something about my memory or lack thereof when I keep using windows explorer to copy files.

Steve from Pleasant Hill
June 13, 2006

# re: A File Copy Conflict Dialog Box in Windows? Really?

Look on the bright side, at least there is one reason to upgrade to Vista!

Joel Rumerman
June 13, 2006

# re: A File Copy Conflict Dialog Box in Windows? Really?

That's worth the upgrade price by itself!

Michael
June 13, 2006

# re: A File Copy Conflict Dialog Box in Windows? Really?

Unfortunately they still haven't figured out to tell you WHICH program is accessing the file you want to copy. Granted in many cases its obvious, but sometimes it isn't ....

Edgardo
June 13, 2006

# re: A File Copy Conflict Dialog Box in Windows? Really?

Hmmm guys, if its new in Vista most of the time its because someone else already did it, and that its even better :(

Check this out (100% free):
http://ccollomb.free.fr/unlocker/

Abdu
June 13, 2006

# re: A File Copy Conflict Dialog Box in Windows? Really?

Same problem with deleting files. I always have this issue when deleting files in the temp folder. When it hits a file that is being used, it doesn't continue deleting after that file. So I sort by date and delete older files since the newer files are being used by current apps.

Bertrand Le Roy
June 13, 2006

# re: A File Copy Conflict Dialog Box in Windows? Really?

+1. It's about time...
But what is the big black square on the image?

Rick Strahl
June 13, 2006

# re: A File Copy Conflict Dialog Box in Windows? Really?

It's supposed to be an icon of the file. The icon in that size is missing in the DLL in this case. I suspect that'll get fixed before it's all said and done.

Deborah
June 14, 2006

# re: A File Copy Conflict Dialog Box in Windows? Really?

How about a "NO to all" option as well?

When copying a file you can overwrite and tell it Yes, Yes to all, or no

Why not no to all?

Hotoru
June 19, 2006

# re: A File Copy Conflict Dialog Box in Windows? Really?

Hold down the shift key when you click "no" = "No to All" :-)

Steve
July 30, 2006

# Hotoru - you are a legend!!!

thanks for the tip Hotoru! Just saved me a few hours of restoring a rather large directory! cheers!

freddyzdead
October 22, 2007

# re: A File Copy Conflict Dialog Box in Windows? Really?

Well, this is another tiny example of Microsoft finally paying a tiny bit of attention to how users actually use their product.

I only found out about the "shift" + "no to all" a few days ago. I've been cursing Redmond for years because of that.

But Vista will have to come up with a lot more than that to tempt me. I tried playing around with V the other day, and spent 15 minutes trying to figure out how to change the display resolution. I gave up. If I could turn off all the eye candy and and DRM, and make it look more like 2000, I might get friendlier.

-freddy

Adrian
November 27, 2007

# re: A File Copy Conflict Dialog Box in Windows? Really?

The shift-key "no to all" trick is neat, but it isn't a complete solution in XP.

If you are copying folders that contain nested sub-folders that contain files, there doesn't seem to be a way to say "only copy files that don't exist in the destination". If the same sub-folder exists in both places, you'll be asked if you want to replace the sub-folder in the destination. If you say "yes", then ALL the files in that sub-folder will get copied - regardless of whether you want them to or not. If you say "no", then the sub-folder (and its contents) won't be copied at all.

I've been trying to come up with a command-line way to get around this using xcopy, but there's no joy there either. And I'm dealing with a number of groups of 600+ files in 100+ folders on several machines. All I want to do is pick up anything from machines 2 to <x> that doesn't already exist on machine 1 and make sure that machine 1 gets a copy of everything (without overwriting files with the same names that are already on there). But it looks like I'm going to have to do it by hand. It'll take hours or days. (Come back unix shells, all is forgiven!)

Anyone have any ideas on this one, please let the world know!

West Wind  © Rick Strahl, West Wind Technologies, 2005 - 2024