Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Copy and Paste after changing file names

03 Apr 2011   #1

Windows 7 x64
 
 
Copy and Paste after changing file names

Hello,

I am having some problems with copying and pasting files. I was trying to copy a file and then change the name of the original file before pasting, so it wouldn't end up as myFile - Copy, but it seems that when I paste after changing the file name, windows can no longer find my file... I tried both the ctrl+c/ctrl+v method and the right click menu options but both had the same result. I get an item not found dialog box stating my items were no longer in the location they used to be and I should verify the items location and try again.

That doesn't make any sense to me because I just copied it... I assumed a temporary copy of the file would be held somewhere... you know... a copy of the original file... 'cause its a function called copy...

Anyway, is this normal? Have older version of windows done it like that and I just never noticed? Is there any way to change that behavior?

Thanks for any help you can give me on this,


-Robert

My System SpecsSystem Spec
.

03 Apr 2011   #2

Several, including Windows 7 x64 Ultimate
 
 

Try the operation again after Explorer gives you the error. It works fine the second time. Seems to be a bug in Explorer on Windows 7.

If you want to avoid it altogether, use an alternative to Explorer, like Explorer++, or one of the other alternatives, there are a lot available.

Regards....Mike Connor
My System SpecsSystem Spec
03 Apr 2011   #3

 
 

No matter what the reason was for the glitch in your process, I think it would avoid the problem altogether if you create the new file or folder first, re-name the original file or folder, and THEN copy and paste the file into the new folder.
My System SpecsSystem Spec
.


03 Apr 2011   #4

Windows 7 Ultimate RTM (Technet)
 
 

Why not let it name the file **** - Copy and then just rename the copy? Seems a lot simpler.
My System SpecsSystem Spec
03 Apr 2011   #5

Microsoft Community Contributor Award Recipient

Windows 8.1 Pro with Media Center
 
 

Quote   Quote: Originally Posted by Mike Connor View Post
Try the operation again after Explorer gives you the error. It works fine the second time. Seems to be a bug in Explorer on Windows 7.
It's not a bug in Windows, and it does not work if you tried to paste it hundred times, if renamed between COPY and PASTE operations.

When user presses CTRL+C or selects COPY from context menu, Windows does not yet copy the file. It just marks it ready to be copied until user presses CTRL+V or selects PASTE. Only then does the copy process start.

If user then renames the file or folder just copied (or rather marked to be ready to be copied), when then pasting Windows tries to find the file or folder to start copying process. If renamed, Windows naturally can no longer find the file or folder marked to be copied simply because it does no longer exist.

Step by step example:
  • User marks file Test_1.txt to be copied by selecting it and pressing CTRL+C or selecting COPY from the context menu. File is not yet copied, it's just marked ready to be copied
    .
    Name:  Copy_1.png
Views: 2
Size:  8.1 KB
    .
  • User renames file Test_1.txt to Test_2.txt
    .
    Name:  Copy_2.png
Views: 3
Size:  8.8 KB
    .
  • User presses CTRL+V or selects PASTE from context menu to paste the file earlier marked to be copied
    .
    Name:  Copy_3.png
Views: 2
Size:  6.5 KB
    .
  • Windows tries to find file Text_1.txt to be pasted, but because its name was changed, that filename does no longer exist
  • Windows gives an error message, telling user "Windows could not find this item", which is completely logical because it really does no longer exist
    .
    Name:  Copy_4.png
Views: 3
Size:  11.7 KB

Notice that this also applies with CTRL+X or CUT, if the destination folder for PASTE is different than source folder.

Kari


My System SpecsSystem Spec
03 Apr 2011   #6

Several, including Windows 7 x64 Ultimate
 
 

Indeed, that is perfectly reasonable and is doubtless ( or should be), the normal course of events. But I have a number of machines ( also belonging to other people), where the operation succeeds on the second try. If the file did not exist, it could not succeed, so something else must be going on. There are no other errors or strange behaviour on any of these machines.

I will do it and see if I can capture the sequence. I would like to know how and why it happens.

EDIT: PS. It only seems to work when at least two Explorer windows are open. I will keep trying variations and let you know what I find, if anything.

Regards....Mike Connor
My System SpecsSystem Spec
03 Apr 2011   #7

Microsoft Community Contributor Award Recipient

Windows 8.1 Pro with Media Center
 
 

Quote   Quote: Originally Posted by Mike Connor View Post
It only seems to work when at least two Explorer windows are open. I will keep trying variations and let you know what I find, if anything.
If it works for you when several Explorer windows are open (does not work me, though), then YOUR Windows has if not a bug, at least something odd.

Files and folders are really not copied when you select copy. It would be completely illogical if it worked. Instructing windows to "earmark" File_1 ready to be copied, then renaming it to File_2, Windows still has instructions to copy File_1 when user selects PASTE. However, due to renaming File_1 does no longer exist when user instructs Windows to paste, thus causing Windows to tell user that the file earlier marked to be copied does not exist anymore.

Kari
My System SpecsSystem Spec
03 Apr 2011   #8

Several, including Windows 7 x64 Ultimate
 
 

Quote   Quote: Originally Posted by Kari View Post
Quote   Quote: Originally Posted by Mike Connor View Post
It only seems to work when at least two Explorer windows are open. I will keep trying variations and let you know what I find, if anything.
If it works for you when several Explorer windows are open (does not work me, though), then YOUR Windows has if not a bug, at least something odd.

Files and folders are really not copied when you select copy. It would be completely illogical if it worked. Instructing windows to "earmark" File_1 ready to be copied, then renaming it to File_2, Windows still has instructions to copy File_1 when user selects PASTE. However, due to renaming File_1 does no longer exist when user instructs Windows to paste, thus causing Windows to tell user that the file earlier marked to be copied does not exist anymore.

Kari
Oh yes, I follow the logic and agree with it, but that's not what happens on a number of machines, not just mine.

If I find anything I will let you know.

Regards....Mike Connor
My System SpecsSystem Spec
Reply

 Copy and Paste after changing file names




Thread Tools



Similar help and support threads for2: Copy and Paste after changing file names
Thread Forum
Is there a way to copy file names as text? General Discussion
Is There an Upper File Size Limit on Copy/Cut & Paste? General Discussion
search multiple files, copy+paste to new folder (batch file software?) General Discussion
changing file names Music, Pictures & Video
Solved can't copy/paste/cut/ a file? General Discussion
Need Someone to copy and paste my Dump file. BSOD Help and Support
Help! Can't copy/paste contents of a Word file Microsoft Office

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 07:25 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33