how can I set relative path for components in an assembly?

Recently I got an assembly model, and I found that once I move the whole directory to another place in my computer, solidworks can not find all the components (all gray in the tree) when the assembly is opened.

I guess it is because the components referenced absolute paths to their part files. Therefore, I want to know that whether there is any way to reset the components' reference paths to relative paths?

I tried the "Replace Components" function, however, it seems the components' reference paths are just changed to another absolute paths, they are still not relative paths.

SolidworksGeneral