How to change source path?

A few years ago I started a project in UE 4.19. I started it on a laptop that I had to get rid of. I transferred it to my desktop and it wouldn’t recognize the project and kept erroring out. I am trying to fix it now because I really wanted to keep working on it. Now, it wont even try and open in 4.19 because it was developed in a different version, and in 4.22 it fails to build and rebuild. I tried rebuilding at the source in Visual Studio and got the following error:

Error MSB3073 The command ““C:\Program Files\Epic Games\UE_4.19\Engine\Build\BatchFiles\Rebuild.bat” ShooterGameEditor Win64 Development “H:\ShooterGame2\ShooterGame2.uproject” -WaitMutex -FromMsBuild” exited with code 3. ShooterGame2 C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.MakeFile.Targets 49

It looks like its trying to access a folder that existed on my old laptop but not on my Desktop. Any ideas on how to fix this? I’ve literally been stuck for years.