Avatar of Jon Freer
Jon Freer
Flag for United States of America

asked on 

Cannot delete pfd - "filename too long"

Somehow a pdf with a 255+ character filename got onto our fileserver and neither our Business Office nor we (IT) can delete the file. I've tried dir /x in cmd to get the "short" 8.3 name, but it returns the actual long filename rather than the "filena~1.pdf" that I expected. Entering "del [long filename].pdf" of course returns the "cannot delete, filename too long" error.

Running cmd as admin. Fileserver is running WinServer 2012 R2. Any suggestions?
Operating Systems

Avatar of undefined
Last Comment
Brian B

8/22/2022 - Mon