Different paths to same folder have different view settings
Eg. a folder on the desktop can be accessed via Desktop > Folder or {Path to Desktop} > Folder. Or the user folder can be accessed via Desktop > user or C:\Users\{user}. These two paths have different view settings.
With 18b50ac8f5fd553998e54bb1d4c21643986dfa90, command line parsing defaults to file system paths instead of shell paths. Parsing the %i parameter (IDLIST) could allow matching the user's choice. See:
https://superuser.com/questions/136838/which-special-variables-are-available-when-writing-a-shell-command-for-a-context
https://www.geoffchappell.com/studies/windows/shell/explorer/cmdline.htm
This should be possible with OpenProcess -> DuplicateHandle -> MapViewOfFile, but DuplicateHandle seems to be failing.
This can also be changed by IShellLink::Resolve
Implementing IExecuteCommand could be another way to get the PIDLs directly. https://devblogs.microsoft.com/oldnewthing/20100312-01/?p=14623