Windows 10: Cannot delete file with long name

Discus and support Cannot delete file with long name in Windows 10 Network and Sharing to solve the problem; So I accidentally dragged something from a browser to my desktop which created the following file name:"data... Discussion in 'Windows 10 Network and Sharing' started by Peter Mineo, Apr 19, 2023.

  1. Cannot delete file with long name


    So I accidentally dragged something from a browser to my desktop which created the following file name:"data image_png;base64,iVBORw0KGgoAAAANSUhEUgAABAAAAAYACAIAAABn4K39AAAGqnRFWHRwYXJhbWV0ZXJzAHRpZmEgbG9ja2hhcnQsIGZpbmFsIGZhbnRhc3kgdmlpIHJlbWFrZSwgY2l0eXNjYXBlIGJhY2tncm91bmQsIG5pZ2h0dGltZSBiYWNrZ3JvdW5kLCBoaWdoIGRlZmluaXRpb24sIGludHJpY2F0ZSBkZXRhaWwsI"So the full name of the file is Data, then a space, then the restNow I cannot delete the file and I can't rename the file.I ran command prompt as an administrator and did the DIR /X trick to try to get a shortened file name. The file name only

    :)
     
    Peter Mineo, Apr 19, 2023
    #1

  2. Can't open or rename file (name is too long) WTF?

    Thread necro...

    When in doubt, use CMD.

    1. Run CMD
    2. Use CD <path> to navigate to the directory where the file exists.
    3. Use the DIR command to get the list of files. DIR will likely abbreviate the ridiculously long named file with NAME~1.
    4. Use the MOVE <source> <destination> to give the file a new name. For example: move "NAME~1" "MyShortName"
    5. ...
    6. PROFIT!

    CMD is always the answer. *Wink Cannot delete file with long name ;)
     
    FordGT90Concept, Apr 19, 2023
    #2
  3. Goozzie Win User
    Long file names that are not long

    I Know the heading seems ridiculous but I have HTML files one that is 3 letters long IE "arp.html".

    When I try to delete this file I get "cannot delete file too long"

    This happens with all and every file in the following folder "Corel Videostudio Pro x9 19.1.0.10", I tried to copy and paste this name but it would not let me because the file is too long.

    Can anyone throw any light on this problem please.
     
    Goozzie, Apr 19, 2023
    #3
  4. krowey Win User

    Cannot delete file with long name

    Can't open or rename file (name is too long) WTF?

    Can't delete or change file name

    If simplifying the file and folder name is not an option, i guess the best thing to do is to use a third party app like Long Path Tool. Just download it and use it to solve this issue. I hope this would help.
     
    krowey, Apr 19, 2023
    #4
Thema:

Cannot delete file with long name

Loading...
  1. Cannot delete file with long name - Similar Threads - Cannot delete file

  2. Cannot delete file with long name

    in Windows 10 Gaming
    Cannot delete file with long name: So I accidentally dragged something from a browser to my desktop which created the following file name:"data...
  3. Cannot delete file with long name

    in Windows 10 Software and Apps
    Cannot delete file with long name: So I accidentally dragged something from a browser to my desktop which created the following file name:"data...
  4. Cannot delete file with long name

    in Windows 10 Network and Sharing
    Cannot delete file with long name: So I accidentally dragged something from a browser to my desktop which created the following file name:data...
  5. Cannot delete file with long name

    in Windows 10 Gaming
    Cannot delete file with long name: So I accidentally dragged something from a browser to my desktop which created the following file name:data...
  6. Cannot delete file with long name

    in Windows 10 Software and Apps
    Cannot delete file with long name: So I accidentally dragged something from a browser to my desktop which created the following file name:data...
  7. Cannot delete file no extension name

    in Windows 10 Gaming
    Cannot delete file no extension name: Hello,I have been trying to delete a file but every time I try it says it is no longer located in that directory and thus it cannot be deleted. This file was created by me a while ago while I was trying to save a link to a website on my desktop, but now it will not let me...
  8. Cannot delete file no extension name

    in Windows 10 Software and Apps
    Cannot delete file no extension name: Hello,I have been trying to delete a file but every time I try it says it is no longer located in that directory and thus it cannot be deleted. This file was created by me a while ago while I was trying to save a link to a website on my desktop, but now it will not let me...
  9. Delete files with [TOO] long file names .......

    in Windows 10 Customization
    Delete files with [TOO] long file names .......: The only post I could find was one from this forum from AUGUST 23, 2017 WINDOWS 7/64, but not Windows 10. That dealt with my problem: DELETING FILES WITH NAMES TOO LONG.The instructions said to: Hi, Windows uses a naming convention called Long Filenames LFN. The LFN system...
  10. Deleting file with long file name

    in Windows 10 Network and Sharing
    Deleting file with long file name: I have a file, not a folder, on my desktop that exceeds the 256 limit and I have tried everything on line that I can see to delete it but I am unable to do wo. I cannot move it to a folder, I cannot cut and paste it to the recycle bin, I cannot rename it, I cannot Zip it,...