Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


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

Posted on 2006-04-11
Medium Priority
Last Modified: 2010-04-13
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:


(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?

Question by:BrianMc1958
LVL 86

Accepted Solution

jkr earned 2000 total points
ID: 16427467
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.

Expert Comment

ID: 16427603
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)


Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
The number of companies understanding the potential of IoT on B2B market is growing with each day. And yet only a small share of IoT developers have managed to equalize incomes and stay competitive in the international market.
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
The Relationships Diagram is a good way to get an overall view of what a database is keeping track of. It is also where relationships are defined. A relationship specifies how two tables connect to each other. As you build tables in Microsoft Ac…
Suggested Courses

580 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question