0

For those who went through most possible solutions online, I hope this save you from headaches.

So a while ago, I had a PDF file that I saved from Google Chrome that had an excessively long name.

Little did I know that Windows will mess things up when a certain file name is too long.

When I decided to delete the PDF when I'm done with it.

It does not budge.

Literally No error code/message, No indication, Nothing happened to the file

Also when I attempt to change the filename, nothing happened as well.

BUT if I saved the name as it is, it came up with an error message saying it's too long.

Tried various methods as well:

  • uninstall Adobe programs
  • using CMD to delete
  • booting into safe mode
  • using CMD to delete in safe mode
  • changing file extension (result is same as deleting and renaming)
  • archive the file (failed)
music2myear
  • 40,472
  • 44
  • 86
  • 127
zyuen96
  • 19
  • 4
  • 1
    This site is a professional site, visited by people at work. Use professional language, please. – music2myear Sep 03 '20 at 05:13
  • Further, while we're glad you fixed this for yourself and happy you came to share your fix, others have already asked this question (and found this precise answer) on this site. :https://superuser.com/search?q=cannot+delete+file+with+long+name – music2myear Sep 03 '20 at 05:14
  • @music2myear thanks for the feedback, I may have missed that solution after hours of attempts in removing that file. – zyuen96 Sep 03 '20 at 06:47
  • @music2myear i have submitted the agreement to the slimilarity, is there anything else I can help with? – zyuen96 Sep 03 '20 at 06:48

1 Answers1

1

SOLUTION

Steps:

  1. Download 7zip
  2. Open 7zip with admin privilege.
  3. Open the directory containing the problematic file.
  4. Create a folder and move the problematic file into it.
  5. Delete the folder inside the 7 zip interface.
zyuen96
  • 19
  • 4