I'm using Java, but it's a pretty general question indeed.
When I load an image as a program icon (program icon, save, load, any icon) and change the folder where the icon is, of course there is an error because the program looks for the icon in an outdated address .
As a workaround, I created a resource folder in the same folder as the program project to store the icons I'm using.
Why programs (such as Word, Adobe File Reader, Solidworks, or AutoCAD, etc.) usually do not have, at least apparently, a folder with the icons used in the program? How does this happen?