Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: cannot delete corrupted file from flash drive  (Read 8431 times)

0 Members and 1 Guest are viewing this topic.

jonnyD

    Topic Starter


    Intermediate

    cannot delete corrupted file from flash drive
    « on: July 08, 2011, 11:39:49 AM »
    I was transferring a folder from my internal HD to a flash drive attached by a USB port and the computer froze.  I re-started the computer but the particular folder I tried to transfer now gives me the following error message when I tried to delete it: "The file or directory is corrupted and unreadable."  I searched your forums and found a discussion about this problem.  A link was given for using the cmd prompt but I did not understand the directions. I searched online some more about deleting a folder with the cmd prompt and came upon these directions in relation to deleting a folder (as compared to only a file):

    1. First locate the folder that you would like to delete.
    2. Then on the command prompt type:

    Code:

    rmdir foldername


    Since my flash drive is labeled as the "G drive" I typed: G:\>rmdir corrupt but this did not work (I changed the name of the folder to "corrupt").   I also tried: G:\>rmdir Comedy\George Carlin\corrupt and included the entire name of the file path.  Nada.  Am I doing this at all correctly?

    Computer_Commando



      Hacker
    • Thanked: 494
    • Certifications: List
    • Computer: Specs
    • Experience: Expert
    • OS: Windows 10
    Re: cannot delete corrupted file from flash drive
    « Reply #1 on: July 08, 2011, 12:00:11 PM »
    At the Command Prompt, type chkdsk g: /f

    jonnyD

      Topic Starter


      Intermediate

      Re: cannot delete corrupted file from flash drive
      « Reply #2 on: July 08, 2011, 12:13:00 PM »
      Awesome!!  The folder is gone.  Thank you.
      So what just happened with that command?

      Computer_Commando



        Hacker
      • Thanked: 494
      • Certifications: List
      • Computer: Specs
      • Experience: Expert
      • OS: Windows 10