HELP! How to delete a file that won't delete?

Dear Experts,

I have a file (with an extremely long name) that I cannot delete.  I've tried the normal Windows Explorer delete, which does nothing.  And I've tried DOS, which also does nothing.  (I've tried both the full name and "FTG_Co~1.CLA").  I've tried rebooting.  No luck.  I'm not getting any "permission denied" or "file in use" messages.

When I do "DIR" in DOS, I see the file (with it's full name).

The full name of the file is:

FTG_ConfigDataFrame$FTG_ConfigDataFrame_applicationsTable_keyAdapter.class

(The file name is actually generated by a Java Virtual Machine).

I'm assuming the problem is either with the length of the name, or the "$" in the middle.

Does anyone know of a way to absolutely, positively delete a file?

Thanks!
BrianMc1958
BrianMc1958Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

jkrCommented:
The '$' in the file name is the problem, since that character is not allowed. See http://support.microsoft.com/support/kb/articles/Q120/7/16.asp ("How to Remove Files with Reserved Names in Windows") on how to remove it.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
IvoBurkartCommented:
Try booting with a DOS (or Win9x) boot disk and delete the file with the deltree command

deltree normally gets them all (provided your file system is FAT)

Ivo
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows 2000

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.