I’m looking for a way to open multiple images in XnView MP via the command line while preserving the specific order of the arguments.
By default, XnView MP seems to re-sort the files based on its internal settings (e.g., by Name). For example, if I run:
xnviewmp.exe "2.jpg" "1.jpg"
The software automatically re-sorts them, showing 1.jpg before 2.jpg because of the "Name" sort rule. But I want the "Next/Previous" navigation to strictly follow my input order (2.jpg, then 1.jpg).
Is there a specific parameter to disable auto-sorting, or a way to pass a temporary list to the viewer that overrides the folder's default sorting?
-----
Additionally, I noticed a difference in how XnViewMP handles input methods:
- Direct Path As Arguments:
- Filelist Parameter:
---
So that, Is there a specific flag I should use with -filelist to force it to open the image in Viewer mode while maintaining the custom list order? Or is this the intended behavior for the filelist parameter?