How to solve the problem" This filename is too long. Please use a shorter name" in renaming the file attachments?

If File Path is too long then I would like to suggest you, try Long Path Tool program to resolve this issue.