General discussion

  • Creator
    Topic
  • #2277703

    File can’t be deleted – too long

    Locked

    by robcoxon ·

    I have a couple files and folders that were downloaded from the Internet with names that are extremely long. I can’t delete or rename them or open up the properties. Doesn’t work with the cmd prompt either. Any ideas on how I can delete them?

All Comments

  • Author
    Replies
    • #2708512

      Reply To: File can’t be deleted – too long

      by willcomp ·

      In reply to File can’t be deleted – too long

      Try it in safe mode.

      Dalton

    • #2708439

      Reply To: File can’t be deleted – too long

      by ahching ·

      In reply to File can’t be deleted – too long

      Hi,

      Did you try to rename the parent folder to a shorter name?
      e.g.
      \subfolder1\subfolder2\veryloooooooooooooongfilename
      to
      \1\2\veryloooooooooooooongfilename

      Then delete the folder “2” (don’t forget to backup those files that you want)

    • #2708343

      Reply To: File can’t be deleted – too long

      by otl ·

      In reply to File can’t be deleted – too long

      Try dragging (moving) it to the root directory, then delete.

      In the command prompt;

      1. Go to the directory.
      2. List all files with the first 3 to 6 characters (filen*.*), to ensure only the one you want to delete is on the list.
      3. Type in ren filen*.* temp.txt
      4. Type in del temp.txt
      5. File should be gone, if not;
      a. Type in attrib -h -s -r temp.txt
      b. Repeat step 4.

    • #2708242

      Reply To: File can’t be deleted – too long

      by shmaltz ·

      In reply to File can’t be deleted – too long

      Been there done that. The only way I was able to delete it:
      1. Share the parents parent Directory (lets say as tempshere)
      2. On any computer that is network with this machine, map or browse to the tempshare and just delete the parent folder that holds the long folder or filename (actualy I don’t remember if this is neccessary or you can just delete the file/folder itself), but the point is that over the network it works.
      Hoep this helps, email me if you need more help.

    • #2708750

      Reply To: File can’t be deleted – too long

      by robcoxon ·

      In reply to File can’t be deleted – too long

      This question was closed by the author

Viewing 4 reply threads