I get the same thing in Windows 10. In 7 the custom icon image follows the copied folder. Gotta love Windows 10.
To use an icon file and keep the customization path agnostic, just use the obvious way: Relative paths! If you have something like C:\test folder\icon\sample.ico windows will use that absolute path that obviusly becomes invalid when you move the folder on say D:\ hence just use .\icon\sample.ico, editing the relevant desktop.ini, then you can move the folder wherever you like and the icon will be still visible. --------------------------------------------------------------------------------------------------------------------------------------- Another way is to point to a system's resource dll, like imageres.dll In that case your icon will be always visible even if you use the absolute path C:\windows\system32\imageres.dll ,as long as your windows is installed on C:\ You can improve that replacing C:\windows\ with %windir%\ or %systemdrive%\windows\ This way even if your windows is installed on D: or E: your path will be still valid
In my case i dropped the icon i needed in the Windows Folder, i created a Desktop.ini file by copying a known functional one albeit with the path to my chosen Icon, i then set the attributes of the Windows folder using a CMD line run with admin priv's attrib +r "C:\Windows" I then set the icon and the desktop file to hidden. F5 to refresh should do it. I also have icons on the Program Files folders using the same technique
I thought it was something like that, given trough the normal way even on a parallel installation is impossible to set a custom icon.
Tried this. Works partially. It means when moving a folder it's able to retain the custom icon. But copying doesn't. Even with moving it doesn't work when there is a folder with same name in the destination.
Relative paths! method doesn't work at all. Can't open imageres.dll via Notepad. It becomes "Not Responding"