How to use folderaliases for icons in actions/usercommands?

How do I use folderaliases for icons/images in actions/usercommands if it is even possible?

I've tried the most straightforward way, i.e tried to specify "/programfiles32\MyIcons\uedit32.ico", but this doesn't seem to work.

The reason I ask is that I dualboot WinXP32 and W7 64 (although it isn't a W7 specific issue), so some paths changes between those.

/programfiles32 = c:\program files on XP
/programfiles32 = c:\program files (x86) on W7

Ideally it should be possible to specify icon paths in the same manner I can specify them for executables etc.

Agreed, it should be possible.
However, as you have found, an Alias does not work, but a hard-coded path does work.

Well spotted myarmor !

You can also use paths relative to the Opus programs folder. (More detail on that in the thread you can find by searching the forum for "alias icons", without the quotes.)

From a quick try it looks like you can also use environment variables such as %ProgramFiles%. I don't think there is an env-var which always points to the 32-bit program files folder but you could create one.