What operating system and what file system are you using? FAT32 or NTFS? Try logging in to safe mode and try to delete it that way.
If that doesn't work, run chkdsk on the C:\ drive. It's supposed to fix invalid name entries, etc. You can do this by going into My Computer, right clicking on the C: drive, and then going to properties. Click the tools tab and then the Check Now button to scan your drive for errors.
cscgal
The Queen of DaniWeb
19,421 posts since Feb 2002
Reputation Points: 1,474
Solved Threads: 229
Scandisk on thorough takes an awfully long time, and this is normal. However, it's really not good to cancel it in the middle. Sometimes that screws up files it's in the process of fixing when you cancel it.
You don't need to run the thorough version of scandisk to possibly correct this problem. Try running the quick or normal method.
To go into safe mode, press the F8 key when the booting into Windows splash screen/ logo first appears. This loads your computer without any peripheral drivers such as video card, sound card, network card, etc, and sometimes can be used to diagnose & troubleshoot problems.
Scandisk (or chkdsk for Windows 2000/XP) seems to be your best option. No need to run thorough though!
cscgal
The Queen of DaniWeb
19,421 posts since Feb 2002
Reputation Points: 1,474
Solved Threads: 229
Try going into DOS and renaming the file. I remember in Windows 95/98 if you put extended ASCII characters in filenames Windows would have a fit if you try to delete them. Usually, when you create a file in Windows, it doesn't let you put extended characters in your file names, but you could do it in DOS. I used to go into DOS, go to the C:\WINDOWS\DESKTOP directory of my friend's computer and create a file with the name "hey you" - but the space in between wasn't a space (ASCII CHAR #20) it was (ASCII CHAR #255), inserted by holding down the ALT button and typing in 255 on the number pad. The only way on earth you could delete a file like that was if you formatted the HD, or deleted the folder it was in or go into DOS and renamed the file, then deleted it through Windows or DOS. Hehe... you couldn't move the file to any folder even the Recycle bin. If you tried to move it to a folder, it would have weird side effects, like the folder becoming the name of the file. You couldn't rename it or delete it.
I don't know if this might be your problem, but it sounds very similar. It's also a neat way to scare your friends.
samaru
a.k.a inscissor
1,256 posts since Feb 2002
Reputation Points: 262
Solved Threads: 18