I have discovered a program that occupies very little and that allows to move programs from one hard disk to another without danger. It’s about FreeMove. It is open source, free. It simply tells you where the directory you want to move is and where you want to move it. You can immediately check that the program continues to function normally. Sometimes, when doing it manually, the programs stop working because in their code they have determined that they must be in a certain location and when moving them from place they stop working, but with this small, but very useful program, everything works the same as before, but releasing space on your main disk. The website to download it is:
https://github.com/imDema/FreeMove