Cannot Rename File Because File (Doesn't) Exists

superman859

New member
Local time
2:42 PM
Messages
15
I'm having a really strange problem and am wondering if anyone has encountered this. I tried to save a file and got an error on saving it, so I quit the program. The file appears as if it was never saved and doesn't show up in directory listing (GUI or cmd.exe).

However, if I try to rename any other file to that filename, it says "Cannot rename file, because file exists" and appends a number to the end. I cannot remove the number. This happens both in the GUI and cmd.exe as well.

So, basically cmd.exe del says the file does not exist, but ren says a duplicate file name exists....

Tried restarting as well.

I have no idea how to delete that "ghost" of a file so I can actually use the filename. I checked folder options and it's not a hidden file or anything like that - it just (doesn't) exist, but it does?
 

My Computer

OS
Windows 7 RTM
CPU
AMD 7750
Motherboard
Asrock a780gmg/128m
Memory
4gb
Graphics Card(s)
Radeon HD 4830
Monitor(s) Displays
Sharp Aquos
Hard Drives
1 TB Western Digital
Case
Antec Fusion
Cooling
Ninja Mini
open disk management ..if you don't know how to find it, just right click on "computer" from the start menu and select manage, then scroll down to disk management to open it.
right click on the partition where you tried to save the file.. or C:\ if you don't have extra partitions or more than one HDD
select properties and click on the "tools" tab
click "check now" under error checking, and on the next pop up, check 'automatically fix file system errors' and press start.. select yes when asked if you would like to schedule for the next restart, then restart your computer and let the disk check run.
If that doesn't work there are other options
 
open disk management ..if you don't know how to find it, just right click on "computer" from the start menu and select manage, then scroll down to disk management to open it.
right click on the partition where you tried to save the file.. or C:\ if you don't have extra partitions or more than one HDD
select properties and click on the "tools" tab
click "check now" under error checking, and on the next pop up, check 'automatically fix file system errors' and press start.. select yes when asked if you would like to schedule for the next restart, then restart your computer and let the disk check run.
If that doesn't work there are other options

Sorry for the slow response. That didn't work. It didn't find any errors. It's actually happened now with a few other files. I saved them as EPS files in Photoshop, and they show up when I use File - Open within Photoshop, but they do not show up in windows explorer or any other apps (even after a restart).
 

My Computer

OS
Windows 7 RTM
CPU
AMD 7750
Motherboard
Asrock a780gmg/128m
Memory
4gb
Graphics Card(s)
Radeon HD 4830
Monitor(s) Displays
Sharp Aquos
Hard Drives
1 TB Western Digital
Case
Antec Fusion
Cooling
Ninja Mini
Have you tried renaming in 'safe mode'?
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Bruce ... somewhere in his 40's
OS
Windows 7 Ultimate 32bit SP1
CPU
Intel(R) Core(TM)2 Quad CPU @ 2.40GHz, 2400 MHz
Motherboard
INTEL/D975XBX2
Memory
4 GB
Graphics Card(s)
ATI Radeon HD 2600 Pro
Monitor(s) Displays
Samsung SyncMaster 914v
Screen Resolution
1280 x 1024
Hard Drives
2/500GB each ... ST3500630AS ATA Device.
One is not connected
PSU
Rocketfish 700 W
Case
G.Skill Gigabyte Chassis
Keyboard
Standard PS/2 Keyboard
Mouse
Microsoft PS/2 Mouse
Internet Speed
DSL
Antivirus
Avira Internet Security
Browser
IE 11
Other Info
ATI HDMI Audio
I had trouble moving and renaming my Favorites once. I found the file name in the registry and deleted it and that was the end of my problem. Search your reg for the name of the file and delete it..as always make a backup of the registry first..Good Luck
 

My Computer

Computer Manufacturer/Model Number
Homemade
OS
windows 7 64 bit
Files do not show up in safe mode (same as regular mode), and files are also not listed in registry when performing a search....

It seems like they were not fully created properly? I can view the original format (a PDF file) just fine, but I'm trying to convert it to EPS by opening in Photoshop and saving it as an EPS - this worked fine in the past. The PDF is visible everywhere, but the EPS is only visible in photoshop file - open. Nowhere else, including registry. The file obviously exists on the file system though, considering I've restarted several times over the past several days and I can still open the (non) existing EPS in Photoshop.

Deleting the files from the photoshop open menu also sends them to the recycling bin, where I CAN see them in there. However, if I restore them, again they do not exist. Strange.

One thing to note is I am working on two different partitions if it makes a difference (I've run the disk checks on all partitions). C has Photoshop and Windows, and D partition is purely data (where these files are / should be)

Now, CUTTING from the recycling bin and pasting to the original directory (instead of hitting restore) DID fix the problem. They are now visible.

So, while I may have access to my ghostly files now - it makes me wonder! What was going on? Is there a better way to fix this? Is there a bigger problem and this is just a symptom?
 

My Computer

OS
Windows 7 RTM
CPU
AMD 7750
Motherboard
Asrock a780gmg/128m
Memory
4gb
Graphics Card(s)
Radeon HD 4830
Monitor(s) Displays
Sharp Aquos
Hard Drives
1 TB Western Digital
Case
Antec Fusion
Cooling
Ninja Mini
Files do not show up in safe mode (same as regular mode), and files are also not listed in registry when performing a search....

It seems like they were not fully created properly? I can view the original format (a PDF file) just fine, but I'm trying to convert it to EPS by opening in Photoshop and saving it as an EPS - this worked fine in the past. The PDF is visible everywhere, but the EPS is only visible in photoshop file - open. Nowhere else, including registry. The file obviously exists on the file system though, considering I've restarted several times over the past several days and I can still open the (non) existing EPS in Photoshop.

Deleting the files from the photoshop open menu also sends them to the recycling bin, where I CAN see them in there. However, if I restore them, again they do not exist. Strange.

One thing to note is I am working on two different partitions if it makes a difference (I've run the disk checks on all partitions). C has Photoshop and Windows, and D partition is purely data (where these files are / should be)

Now, CUTTING from the recycling bin and pasting to the original directory (instead of hitting restore) DID fix the problem. They are now visible.

So, while I may have access to my ghostly files now - it makes me wonder! What was going on? Is there a better way to fix this? Is there a bigger problem and this is just a symptom?

Bit late now but,

Have you ever tried the 0 byte file deletion method using CMD?

I had a problem once where I downloaded a file using Chrome & it didn't save properly & I was left with a 0 byte file that you couldn't delete or do anything (Don't know if it's the same as your ghost files???) with so I used CMD and basically located the file directory (Desktop in my case) & then used the command DIR /X and found the short name of the file then typed DEL SHORTFILENAME~1.EXT which worked.
 

My Computer

Computer Manufacturer/Model Number
Acer Aspire 5742
OS
Windows 7 Ultimate x64 SP1
CPU
Intel Core i3-370M @ 2.4GHz
Motherboard
Mobile Intel HM55 Express Chipset
Memory
6GB 1333MHz DDR3
Graphics Card(s)
Intel GMA HD
Monitor(s) Displays
15.6" HD Acer CineCrystal LED LCD
Screen Resolution
1366×768
Hard Drives
320GB (5400 RPM) SATA
PSU
65W
Mouse
Microsoft Wireless Optical Mouse 3000
Internet Speed
6Mbps
Other Info
WEI Score: 4.6
No - the files actually had file sizes and everything. In fact, I could still work with them in Photoshop. I could open them from within Photoshop (or Adobe Bridge), edit them, re-save them, etc. as if they were fine without problems. However, they just didn't show up in anything else, such as explorer, Powerpoint, registry, etc.
 

My Computer

OS
Windows 7 RTM
CPU
AMD 7750
Motherboard
Asrock a780gmg/128m
Memory
4gb
Graphics Card(s)
Radeon HD 4830
Monitor(s) Displays
Sharp Aquos
Hard Drives
1 TB Western Digital
Case
Antec Fusion
Cooling
Ninja Mini
Delete your temporary files - e.g. with CCleaner.
 

My Computer

Computer Manufacturer/Model Number
HP, Dell, Gateway, Toshiba - 4 laptops and 2 desktops
OS
Vista, Windows7, Mint Mate, Zorin, Windows 8
CPU
from 1.6GHz Duo to i7
Monitor(s) Displays
2x HP w2207
Hard Drives
5x HDD, 7x SSD, 12x Externals
Keyboard
with trackball - no mices
Mouse
Trackball mice
Internet Speed
DSL 6000
Back
Top