#208 Can't use icons in .exe files (only .dlls)

none
closed
nobody
None
1
2012-12-01
2012-12-01
dlwatib
No

I added a custom item to my Classic Explorer toolbar to start cmd.exe with the current folder. The command works fine but I could not use the program icon in cmd.exe because the icon browser in the Classic Explorer Edit Toolbar would only search .dll files.

I had to substitute shell32.dll,35

A cmd toolbar button is useful enough you ought to consider adding it to the standard set.

Discussion

  • Ivo Beltchev
    Ivo Beltchev
    2012-12-01

    This is not true. Icons in exes work fine. The problem is that the cmd icon has a string ID, and not a numeric ID. Classic Shell only supports numeric IDs.

    As a workaround, you can extract the icon from cmd.exe as a standalone ICO file, and use it directly.

     
  • Ivo Beltchev
    Ivo Beltchev
    2012-12-01

    • status: open --> closed