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

IMAyNeed

New member
Power User
Local time
7:54 AM
Messages
501
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 Computer My Computer

At a glance

Windows 7 Ultimate 64-bitIntel® Core™2 Duo mobile processor P8700 2.53...6GB DDRIINVIDIA GeForce GTX 260M
Computer Manufacturer/Model Number
ASUS G72 Notebook
OS
Windows 7 Ultimate 64-bit
CPU
Intel® Core™2 Duo mobile processor P8700 2.53 GHz
Memory
6GB DDRII
Graphics Card(s)
NVIDIA GeForce GTX 260M
Sound Card
EAX Advanced HD 4.0 + Logitech Wireless Headset G930
Monitor(s) Displays
17.3" LED-backlit LCD high-definition plus widescreen
Screen Resolution
1600 x 900
Hard Drives
2 x Seagate Momentus 500 GB 5400.6 SATA 3Gb/s
Cooling
Targus
Mouse
Logitech Wireless Trackball M570
Internet Speed
3 to 6 Mbps Download / .5 to 1 Mbps Upload
Other Info
Clear Modem with Wi-fi*
Comodo Internet Security Premium
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?:confused:
 

My Computer My Computer

At a glance

Windows 7 Ultimate X64 SP1Intel i5-2550K, Differing ~4.4-4.8GHz No buil...16GB G.Skill Sniper 1866MHz @ 2133MHz 2x8GBASUS GTX650TIB-DC2OC-2GD5, (650TI Boost)
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Home Built Desktop By DataTech
OS
Windows 7 Ultimate X64 SP1
CPU
Intel i5-2550K, Differing ~4.4-4.8GHz No built in GPU
Motherboard
ASUS P8Z68-V PRO/GEN3
Memory
16GB G.Skill Sniper 1866MHz @ 2133MHz 2x8GB
Graphics Card(s)
ASUS GTX650TIB-DC2OC-2GD5, (650TI Boost)
Sound Card
Onboard Realtek 5-1
Monitor(s) Displays
Samsung P2570HD
Screen Resolution
1920x1080
Hard Drives
Samsung 840 Pro 256GB SSD for OS, 500GB Seagate Constellation (Enterprise drive) for Data
PSU
Corsair HX650W
Case
Inwin Dragon Rider
Cooling
Hyper 212 EVO w/two Noctua fans, push-pull, @1300 RPM
Keyboard
E-Z Eyes, bright yellow keys with large characters
Mouse
steelseries SENSEI Laser Pro Gaming
Internet Speed
48-51Mbs Mbs down, 11 Mbs up Xfinity Cable
Antivirus
Norton Internet Security 2013
Browser
IE 10, Opera, Pale Moon if needed
Other Info
4 case fans, LG BluRay-RE, ASUS DVD-RW, Mr. Fusion power supply, 1.21 gigawatts.
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 Computer My Computer

At a glance

Windows 7 x64 pro/ Windows 7 x86 Pro/ XP SP3 x86
Computer Manufacturer/Model Number
Too many to describe...
OS
Windows 7 x64 pro/ Windows 7 x86 Pro/ XP SP3 x86
Confused me too Bill2:confused:
 

My Computer My Computer

At a glance

Windows 7 Ultimate X64 SP1Intel i5-2550K, Differing ~4.4-4.8GHz No buil...16GB G.Skill Sniper 1866MHz @ 2133MHz 2x8GBASUS GTX650TIB-DC2OC-2GD5, (650TI Boost)
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Home Built Desktop By DataTech
OS
Windows 7 Ultimate X64 SP1
CPU
Intel i5-2550K, Differing ~4.4-4.8GHz No built in GPU
Motherboard
ASUS P8Z68-V PRO/GEN3
Memory
16GB G.Skill Sniper 1866MHz @ 2133MHz 2x8GB
Graphics Card(s)
ASUS GTX650TIB-DC2OC-2GD5, (650TI Boost)
Sound Card
Onboard Realtek 5-1
Monitor(s) Displays
Samsung P2570HD
Screen Resolution
1920x1080
Hard Drives
Samsung 840 Pro 256GB SSD for OS, 500GB Seagate Constellation (Enterprise drive) for Data
PSU
Corsair HX650W
Case
Inwin Dragon Rider
Cooling
Hyper 212 EVO w/two Noctua fans, push-pull, @1300 RPM
Keyboard
E-Z Eyes, bright yellow keys with large characters
Mouse
steelseries SENSEI Laser Pro Gaming
Internet Speed
48-51Mbs Mbs down, 11 Mbs up Xfinity Cable
Antivirus
Norton Internet Security 2013
Browser
IE 10, Opera, Pale Moon if needed
Other Info
4 case fans, LG BluRay-RE, ASUS DVD-RW, Mr. Fusion power supply, 1.21 gigawatts.

My Computer My Computer

At a glance

Windows 7 Ultimate 64-bitIntel® Core™2 Duo mobile processor P8700 2.53...6GB DDRIINVIDIA GeForce GTX 260M
Computer Manufacturer/Model Number
ASUS G72 Notebook
OS
Windows 7 Ultimate 64-bit
CPU
Intel® Core™2 Duo mobile processor P8700 2.53 GHz
Memory
6GB DDRII
Graphics Card(s)
NVIDIA GeForce GTX 260M
Sound Card
EAX Advanced HD 4.0 + Logitech Wireless Headset G930
Monitor(s) Displays
17.3" LED-backlit LCD high-definition plus widescreen
Screen Resolution
1600 x 900
Hard Drives
2 x Seagate Momentus 500 GB 5400.6 SATA 3Gb/s
Cooling
Targus
Mouse
Logitech Wireless Trackball M570
Internet Speed
3 to 6 Mbps Download / .5 to 1 Mbps Upload
Other Info
Clear Modem with Wi-fi*
Comodo Internet Security Premium
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 Computer My Computer

At a glance

Windows 7 Ultimate 64-bitIntel® Core™2 Duo mobile processor P8700 2.53...6GB DDRIINVIDIA GeForce GTX 260M
Computer Manufacturer/Model Number
ASUS G72 Notebook
OS
Windows 7 Ultimate 64-bit
CPU
Intel® Core™2 Duo mobile processor P8700 2.53 GHz
Memory
6GB DDRII
Graphics Card(s)
NVIDIA GeForce GTX 260M
Sound Card
EAX Advanced HD 4.0 + Logitech Wireless Headset G930
Monitor(s) Displays
17.3" LED-backlit LCD high-definition plus widescreen
Screen Resolution
1600 x 900
Hard Drives
2 x Seagate Momentus 500 GB 5400.6 SATA 3Gb/s
Cooling
Targus
Mouse
Logitech Wireless Trackball M570
Internet Speed
3 to 6 Mbps Download / .5 to 1 Mbps Upload
Other Info
Clear Modem with Wi-fi*
Comodo Internet Security Premium
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 Computer My Computer

At a glance

Windows 7 x64 pro/ Windows 7 x86 Pro/ XP SP3 x86
Computer Manufacturer/Model Number
Too many to describe...
OS
Windows 7 x64 pro/ Windows 7 x86 Pro/ XP SP3 x86
Thanks for your reply.
Yes, I know that; that is why I was surprised to have double file names in Windows Explorer.
 

My Computer My Computer

At a glance

Windows 7 Ultimate 64-bitIntel® Core™2 Duo mobile processor P8700 2.53...6GB DDRIINVIDIA GeForce GTX 260M
Computer Manufacturer/Model Number
ASUS G72 Notebook
OS
Windows 7 Ultimate 64-bit
CPU
Intel® Core™2 Duo mobile processor P8700 2.53 GHz
Memory
6GB DDRII
Graphics Card(s)
NVIDIA GeForce GTX 260M
Sound Card
EAX Advanced HD 4.0 + Logitech Wireless Headset G930
Monitor(s) Displays
17.3" LED-backlit LCD high-definition plus widescreen
Screen Resolution
1600 x 900
Hard Drives
2 x Seagate Momentus 500 GB 5400.6 SATA 3Gb/s
Cooling
Targus
Mouse
Logitech Wireless Trackball M570
Internet Speed
3 to 6 Mbps Download / .5 to 1 Mbps Upload
Other Info
Clear Modem with Wi-fi*
Comodo Internet Security Premium
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 Computer My Computer

At a glance

Windows 7 Ultimate X64 SP1Intel i5-2550K, Differing ~4.4-4.8GHz No buil...16GB G.Skill Sniper 1866MHz @ 2133MHz 2x8GBASUS GTX650TIB-DC2OC-2GD5, (650TI Boost)
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Home Built Desktop By DataTech
OS
Windows 7 Ultimate X64 SP1
CPU
Intel i5-2550K, Differing ~4.4-4.8GHz No built in GPU
Motherboard
ASUS P8Z68-V PRO/GEN3
Memory
16GB G.Skill Sniper 1866MHz @ 2133MHz 2x8GB
Graphics Card(s)
ASUS GTX650TIB-DC2OC-2GD5, (650TI Boost)
Sound Card
Onboard Realtek 5-1
Monitor(s) Displays
Samsung P2570HD
Screen Resolution
1920x1080
Hard Drives
Samsung 840 Pro 256GB SSD for OS, 500GB Seagate Constellation (Enterprise drive) for Data
PSU
Corsair HX650W
Case
Inwin Dragon Rider
Cooling
Hyper 212 EVO w/two Noctua fans, push-pull, @1300 RPM
Keyboard
E-Z Eyes, bright yellow keys with large characters
Mouse
steelseries SENSEI Laser Pro Gaming
Internet Speed
48-51Mbs Mbs down, 11 Mbs up Xfinity Cable
Antivirus
Norton Internet Security 2013
Browser
IE 10, Opera, Pale Moon if needed
Other Info
4 case fans, LG BluRay-RE, ASUS DVD-RW, Mr. Fusion power supply, 1.21 gigawatts.
SyncToy didn't do it...I've used it for years without a hint of any behavior like that.
 

My Computer My Computer

At a glance

Windows 7 Ultimate RTM (Technet)3.00 gigahertz Intel Core2 Duo E84004GBATI Radeon X1950 Pro
Computer Manufacturer/Model Number
Custom
OS
Windows 7 Ultimate RTM (Technet)
CPU
3.00 gigahertz Intel Core2 Duo E8400
Motherboard
ASUSTeK Computer INC. P5K/EPU Rev 1.xx
Memory
4GB
Graphics Card(s)
ATI Radeon X1950 Pro
Sound Card
Built in HD Audio
Monitor(s) Displays
22" Gateway LCD
Screen Resolution
1920 x 1200
Hard Drives
ST3160023A [Hard drive] (160.04 GB) -- drive 0, rev 8.01, ST3500630AS [Hard drive] (500.11 GB) -- drive 2, rev 3.AAK
ST3500630AS [Hard drive] (500.11 GB) -- drive 1, rev 3.AAK
Keyboard
Logitech G11
Mouse
Microsoft Wireless Laser Mouse 5000
Internet Speed
13.44 Mbps
I don't believe SyncToy did it either.
Somehow, source folder in SyncToy had a space in the filenames before the syncronization (which I didn't notice before syncronization, how could I? As I know Windows OS doesn't let having space in the beginning ofa filename as I know), and the target folder had double files after Syncronization.
Just surprising thing is that how did Windows Operating System did allow filenames to have a space at the beginning?
Somehow it happened.
As someone told me in the other thread, I believe this happened after changing security settings on a folder even though I have never changed the security settings of a hidden/system folder.
Thanks for your replies.
 

My Computer My Computer

At a glance

Windows 7 Ultimate 64-bitIntel® Core™2 Duo mobile processor P8700 2.53...6GB DDRIINVIDIA GeForce GTX 260M
Computer Manufacturer/Model Number
ASUS G72 Notebook
OS
Windows 7 Ultimate 64-bit
CPU
Intel® Core™2 Duo mobile processor P8700 2.53 GHz
Memory
6GB DDRII
Graphics Card(s)
NVIDIA GeForce GTX 260M
Sound Card
EAX Advanced HD 4.0 + Logitech Wireless Headset G930
Monitor(s) Displays
17.3" LED-backlit LCD high-definition plus widescreen
Screen Resolution
1600 x 900
Hard Drives
2 x Seagate Momentus 500 GB 5400.6 SATA 3Gb/s
Cooling
Targus
Mouse
Logitech Wireless Trackball M570
Internet Speed
3 to 6 Mbps Download / .5 to 1 Mbps Upload
Other Info
Clear Modem with Wi-fi*
Comodo Internet Security Premium
I add a "Alt+160" to the beginning of files / folders I want to appear at the top of a folder when opened. Never had a problem. Must be just lucky. I remove if going to move elsewhere (off PC). If I've got loads to change it's not a problem with the aforementioned Better File Rename. A brilliant little program.
 

My Computer My Computer

At a glance

windows 7 ultimate
OS
windows 7 ultimate
Back
Top