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

Posted on 2006-04-11
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

    The '$' in the file name is the problem, since that character is not allowed. See ("How to Remove Files with Reserved Names in Windows") on how to remove it.
    LVL 3

    Expert Comment

    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

    What Is Threat Intelligence?

    Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

    Join & Write a Comment

    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…
    It Is not possible to enable LLDP in vSwitch(at least is not supported by VMware), so in this article we will enable this, and also go trough how to enabled CDP and how to get this information in vSwitches and also in vDS.
    In this sixth video of the Xpdf series, we discuss and demonstrate the PDFtoPNG utility, which converts a multi-page PDF file to separate color, grayscale, or monochrome PNG files, creating one PNG file for each page in the PDF. It does this via a c…
    Internet Business Fax to Email Made Easy - With eFax Corporate (, you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

    754 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

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now