Appearance
Source File names are larger than supported by file system
NEWLikelihood of occurrence: EXTRAORDINARILY RARE
Cause of error: File name is too long
Fix for issue:
FIX
Open an elevated Powershell and run the command: You will need to source out the filepath and file name (plus extension e.g, .pdf etc)
Remove-Item -Path “[FILEPATH TO BAD FILE]” -Force
NOTE
You may have to append \\?\
to the start of the file path.
Example:
ps
Remote-Item -Path "\\?\C:\Shares\public\@Scan\SomeRandomLongDocumentNameThatislongerthanthis" -Force
This should completely delete it and bypass the Recycle bin as well.