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: Cannot Change Filename (Source and Destination filenames are the same)


24 May 2011   #1

Windows 7 Ultimate 64-bit
 
 
Cannot Change Filename (Source and Destination filenames are the same)

Let's say " 01 - come.aaa" (A space at the beginning) is the file name.
I am trying to change it to "01 - come.aaa"(without the space at the beginning).
I am coming up with this error: "Source and destination file names are the same".

1) Is this fixable? How?

2) How can I find all files on my computer (and external drives) with a space at the beginning in the filename (and of course how can I change them with this error coming up)?

3) Is it a problem to have a space at the beginning in the filename (These files will be used in Mac and Linux too) ?

Thanks.

My System SpecsSystem Spec
.

24 May 2011   #2
Microsoft MVP

Windows 7 Ultimate X64 SP1
 
 

A work around might be to:
1.copy the file to another location and rename it there.
2.Move the file renamed to the original location and delete the original.
3. OR rename it something similar but different. Such as your generic example, change it to, say "01-come.aaa"...no spaces.
I have no answer to find files with a space in the beginning of the name. curious, where do those come from?
My System SpecsSystem Spec
24 May 2011   #3

Windows 7 x64 pro/ Windows 7 x86 Pro/ XP SP3 x86
 
 

AFAIK, Windows 7 doesnt allow creating files and folders with leading spaces in their names. So how did you create these files or are they imported from another OS?

Generally speaking, spaces in filenames are a bad idea. They are troublesome to use in the command line and in scripts. Certain file- and image- hosting websites remove or replace spaces. Certain tools dont work with spaces in filenames. And filenames get unnecessary longer.
My System SpecsSystem Spec
.


24 May 2011   #4
Microsoft MVP

Windows 7 Ultimate X64 SP1
 
 

Confused me too Bill2
My System SpecsSystem Spec
24 May 2011   #5

Windows 7 Ultimate 64-bit
 
 

They have been created by Microsoft SyncToy after a syncronization. (Unless the filenames have been changed before because of some security issue as mentioned in the other thread).
I wish I could take that syncronization back (undo) because right now I don't know all the files and folders affected).
My System SpecsSystem Spec
24 May 2011   #6

Windows 7 Ultimate 64-bit
 
 

I was able to change the files with a program called Better File Rename.
Back to my question, why wasn't I able to do this from Windows Explorer?
My System SpecsSystem Spec
24 May 2011   #7

Windows 7 x64 pro/ Windows 7 x86 Pro/ XP SP3 x86
 
 

Windows explorer sees a filename with leading spaces SAME as a filename without leading spaces. Try creating a test file/folder with a leading space, the spaces are automatically removed.
My System SpecsSystem Spec
24 May 2011   #8

Windows 7 Ultimate 64-bit
 
 

Thanks for your reply.
Yes, I know that; that is why I was surprised to have double file names in Windows Explorer.
My System SpecsSystem Spec
24 May 2011   #9
Microsoft MVP

Windows 7 Ultimate X64 SP1
 
 

Explorer also will see files named AbCdE and aBcDe as being the same.
If the SynchToy is creating files with leading space file names quit using it and try another.
My System SpecsSystem Spec
24 May 2011   #10

Windows 7 Ultimate RTM (Technet)
 
 

SyncToy didn't do it...I've used it for years without a hint of any behavior like that.
My System SpecsSystem Spec
Reply

 Cannot Change Filename (Source and Destination filenames are the same)




Thread Tools



Similar help and support threads for2: Cannot Change Filename (Source and Destination filenames are the same)
Thread Forum
slideshow will not save or change destination Customization
EASUS Free - Please guys DON'T CHANGE destination partition size Backup and Restore
How to change automated save destination? General Discussion
How-to: aero.msstyle filenames to change toolbar color (7 Pro x64 SP1) Customization
Batch file , change filename with system date and time infor General Discussion
'Date Modifed' of filename doesn't change General Discussion
Change Source of TV Tuner? Media Center

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 10:06 PM.
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