@roman-lt said in Don't open folders anyway... how?:
Is there a way to open notepad++ with folder parameter given when it ignores such folder parameter? So, it starts, but without any new opens?
For example, Notepad3 in this case just shows Open Dialog…
Sorry, my English is not good…
Thanks for trying.
If I am understanding correctly, you want to be able to give a folder as an argument to Notepad++… but instead of opening every file in the folder (the default action) or opening FolderAsWorkspace (one of the advertised command-line options), you would like it to do something different. If I am understanding correctly, you would like it to just open Notepad++ with the Open dialog automatically showing, so that it asks you to open a file from that particular folder? Or maybe you want it to just open Notepad++ normally, but in a way that when you access the Open dialog, it will default to the given folder?
There is no such command line argument for either of those interpretations. But there may be workarounds that are sufficient for your needs:
If you want it to auto-spawn the Open File dialog, one could make use of the -z command line option with the PythonScript plugin, with a discussion about how to do so linked from the usermanual
If you want it to change the default directory, you might be able to just run Notepad++ executable from that directory, or have a Windows shortcut for Notepad++ that changes the “Start In” directory. The Settings > Preferences > Default Directory may influence how effective cd __SOME__DIRECTORY__ & notepad++.exe or the shortcut – I think you want 🗹 Remember last used directory. Yeah, I just set to that Default Directory option, then created a shortcut that changes the “Start In” directory; when I run Notepad++ using that shortcut, the first time I hit File > Open (or the Open toolbar icon), it opens in the “Start In” directory.
6191ca02-cee1-4880-b9de-4cd89db16bc0-image.png
–
Addendum: sorry, after reading Alan’s response, I realized I hadn’t noticed the “Total Commander” aspect of the question. I know nothing about how to make Total Commander interact with applications in a desired manner.