Bug in NppShell when trying to open many files
Notepad++ project is moving to GitHub:
Brought to you by:
donho
https://sourceforge.net/p/notepad-plus/discussion/331753/thread/8486c498/
To reproduce: create a folder with many textfiles where the sum of the textfiles' names is larger than 32768 (e.g a folder with 700 files each with a name longer than 50 characters). Select them all, right click, and choose "Edit in Notepad++". An error occurs.
When opening files using NppShell, it tries to create a single command-line call. But there is a limit to how long such a call can be (2048 or 32768 chars depending on Windows version). The files need to be opened in batches to avoid creating too long command-lines.
It won't be in the next version (v6.6), but future version (v6.6.1)
Thank you for the patch.
Don
Andreas,
I compiled new binary in both 32/64 bits version under VS2008.
You may want to check them in :
http://notepad-plus-plus.org/tmp/npp.Installer.exe
Don