@luca-cavandoli said in Notepad++ crashes, by opening more than x files at the same time:
NPP with -noPlugin per default
That’s not the right long-term solution. To be able to do that, you would have to edit one or more entries in your registry; since you’ve got definite problems, I would not recommend doing that, unless you know what you’re doing. (And, to be blunt, if you knew enough for it to be safe for you to edit your registry, you wouldn’t be asking how to run a program with a specific command line option by default.)
The right long-term solution is to uninstall the plugin or plugins that are causing the problem, after which point Notepad++ will load properly.
Anyway I temporarily deleted all the plugins in the plugin folder and it still crashes, so I don’t think it’s caused by any plugin.
I am dubious. Are you sure you don’t have multiple copies of Notepad++ lying around, and you deleted the plugins from one but it’s actually a different one that’s trying to run? And are you sure you deleted/renamed the actual plugins (the folder(s) containing the DLLs, that is, C:\Program Files\Notepad++\plugins\), not just the %AppData%\Notepad++\Plugins directory (probably c:\users\username\AppData\Roaming\Notepad++\Plugins), which should only contain the configurations for plugins, not the plugin DLLs themselves?
Could you show us the updated Debug Info after you are confident that the plugins are really out of the picture?
It crashes when opening more than 2 files btw, 2 files at the same time works fine.
I have never seen that happen. What is the exact sequence of events you are taking that leads to this?
Command Line : “C:\01 Projects\00_SCS-PFA\00_SVN\Trunk\Packages\R2.x.x\4_Tools\eData_v3.5\Templates\Param\MM_AP001_L_S1.scl”
Given the length of the filename on your command line, I wonder if when you are selecting 3 or more files, whether the total length of the command line is too long for Windows to deal with (Windows has some length limitations in the “verb action” interface). If you select each of the files one-at-a-time and open them with Notepad++, does it load those same files properly?