how to rename the folder and/or assembly, related components without error of missing parts.

hi SW users,
since I am new to SW, I have common questions that I need to understand how to model and make better assemblies without having to deal with errors. i hope someone can help me solve this problem.

I have a folder where I save all the components and their assembly in there. When I rename this folder and open an assembly i store in there, my assembly has some missing components. Is there a way to rename the folder without affecting the components and their assembly?