Hello all!
I couldn't find how to use AddPin with an icon !
I am trying to pin to StartMenu the SlideToShutDown executable. I saw how you use Addshortcut, so I tried the same structure, and checking with the "Add_Pin" documentation that I found
I tried this:
AddPin,StartMenu,,%SystemRoot%\System32\%ProgramEXE%,,,,%WinDir%\System32\shell32.dll|27
It has created an entry in the PinUtil section of pecmd.ini
StartMenu2=%SystemRoot%\System32\SlideToShutDown.exe
As you can see, the System32\shell32.dll|27 is omitted. So I get the item in start menu, but with the standard icon of any exe (that has no icon)
How can I edit the StartMenu2=... entry to get the icon?