How to fix a long file name problem

Problem:

Today I try to restore some MS Word files from a recent backup, but some files with long names cannot be deleted, renamed, or even opened.

Reason:

The file name length is about 256 characters in NTFS, which includes all of the path/folder/subfolder name and the file name.

Solution: 

Option 1 - Rename the folder, subfolder, and/or file to make them shorter than 256.

Option 2 - Use commercial tools. I have tried some, but there are overheads.