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
IMAyNeed

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
Britton30
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
Bill2

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

AFAIK, win7 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
Britton30
Microsoft MVP

Windows 7 Ultimate X64 SP1
 
 

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

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
IMAyNeed

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
Bill2

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
IMAyNeed

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
Britton30
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
MacGyvr

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
Thread Forum
Can we change the upper/lower case of filenames in Windows Explorer?
Hi. When I try to change the case from upper to lower or vice versa of filenames n windows explorer, the changes are not accepted. Also, adding or deleting of spaces in existing filename words is also not being accepted. I have admin privileges. Thank you for help.
General Discussion
Free utility or inbuilt program to compare source & destination files
Hi Win7 64 pro I have copied 2gb using Teracopy to a folder, it showed at least one where path not found. It has no means of selecting that line and showing me the source file, I cant even copy out the address. Its ok as along as i get OK in its test, else if I get a red warning it then...
General Discussion
slideshow will not save or change destination
http://i49.tinypic.com/25fswuo.png so the problem is, i can open that linkj which is I/pictures/backgrounds/ but i HAVE to select one image instead of just being able to select a folder. After that, i cannot click ''OK'', it will not work,respond or anything...neither will cancel, I HAVE to hit...
Customization
EASUS Free - Please guys DON'T CHANGE destination partition size
Hi there Anybody still using Free versions of EASUS Little nasty here in the product description .......................... EaseUS Disk Copy allows you to backup one partition to another. The two partitions are exactly same in each sector. Attention Please: 1. The destination partition...
Backup and Restore
How to change automated save destination?
I am having an issue that is not a big deal, but is very irritating to me. When I open a windows office file from the internet (Word or Powerpoint) and I then I go to save it via "save as", it automatically opens the temp file as the save destination, not the folder I most recently had open, or...
General Discussion
How-to: aero.msstyle filenames to change toolbar color (7 Pro x64 SP1)
Edit: As Bongo pointed out, the numbers of the images are wrong for the original aero.msstyle. I'm using Windows Aero (Tahoma Font) - Vista Forums which changes the numbering. That means this should work for Windows 7 Professional x64 SP1 Eng with above theme installed. So stupid. I've been...
Customization

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 02:44.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App