To replicate:
1. install Notepad++ portable
2. start the application
3. Settings -> Style Configurator
4. Style -> pick a new style
5. Save & Close
6. On the Windows taskbar, right click Notepad++ -> Pin to taskbar
7. Close Notepad++
8. Click Notepad++ in taskbar to open/start it
9. style selection has changed back to default
Windows taskbar pinning doesn't support multi exe apps, environment variables, etc. Use the platform to pin it. You'll see the option when you right click on an app.
Sometimes, the impossible can become possible, if you're awesome!
"Use the platform to pin it. "
I don't know what this means. What is "the platform?"
As the title of my comment said, " Pin using the PortableApps.com Platform " The PortableApps.com Platform is what most people use to download, install, manage, and keep their apps automatically up to date. See here: https://portableapps.com/download
When you right-click on an app in the PortableApps.com Platform, it gives you the option to Pin to Start and it will do it in a way that works with multi-EXE apps.
Sometimes, the impossible can become possible, if you're awesome!
Ok, thanks. It's really weird that Notepad++ is the only portable app that has this issue out of the 6 or 7 that I'm using.
Hi. When you run Notepad++ and pin it to taskbar, the shortcut goes to PortableApps\Notepad++Portable\App\notepad++.exe, not to PortableApps\Notepad++Portable\Notepad++Portable.exe. This causes problem when reading and writing settings, enviroment variables etc. in Notepad++ and some other apps too. Solution is to pin PortableApps\Notepad++Portable\Notepad++Portable.exe to taskbar using windows explorer.
This will result in two icons, the second will appear when running. The way to have a single icon that works is to use the PortableApps.com Platform to pin it.
Sometimes, the impossible can become possible, if you're awesome!