I can`t open projects

Just reinstalled my Windows and obv UE4 but Im getting this error and I cant find a solution. (pretty noob here)

Did you do a clean re-install of your UE4 if it was already present on the drive previously?

You can manually associate a file type to a specific program in windows, though I’m not sure how this is done on the newest versions of windows; but I recommend doing a clean re-install of your UE4, because the problem here is that the project file type has not been (for some reason) correctly associated to the Editor’s executable.

Solved it using this This file does not have a program associated - Community & Industry Discussion - Epic Developer Community Forums