@Container said:
In Rcedit I made the exported file with the icon, but if I move the file into a different folder, the icon is gone. How can I change that?
This is likely because the icon does not include all the required sizes. To replace the default icon at all sizes, the custom icon must contain the following sizes: 256×256, 128×128, 64×64, 48×48, 32×32, 16×16
See Changing application icon for Windows for more information.
Additionally, it's possible that the icon is only kept until you move the executable because of Windows' icon cache. In this case, export your executable with a different name every time to avoid caching issues.