Is there a way to change the window icon?

Hey, I am trying to change the window icon from the default exe icon to a custom icon. Is there a way to do that besides converting the program to a exe file and then just personalizing it manually?