Issues Using NPP When There Are Spaces In File/Path
I’m trying to edit a .bat that has spaces in the path and the filename using my file manager’s context menu edit. But as you’ll see this goes very wrong saying it doesn’t exist. The second error doesn’t even display the path correctly adding words that were at another place in the path to the end. Do I want to create it? No. In the end I show in my file manager that the file and the path are accurate and the properties matches the location yet it won’t open in NPP.
Then in a 2nd video I show that I can type in the first tab of NPP. I then proceed to open the same file as in video 1 through NPP’s open file function. While it does open the file I am unable to type anywhere in the display/tab.
I created a video which I’ve uploaded the videos to here:
If there’s any issue with the links let me know. They should work.
Please share your debug info (
?->Debug Info...from the main menu) so that people can have a better idea of what might be causing your issue.
This sounds a lot like a plugin issue to me. I have never had such an issue with spaces in file names on any of the numerous Notepad++ versions I have.
I haven’t looked at the videos as I don’t tend to do links to 3rd party sites I haven’t heard of. But…these type of issues usually come down to a double-quoting problem of some sort. If a filepath contains one or more spaces, it must be double-quoted at the time it reaches Notepad++'s command line.
The command line that N++ was run with is shown in the “Debug Info” so Mark’s advice about providing it is solid.
using my file manager’s context menu edit
This leads me to believe the problem is NOT related to N++'s own Explorer context menu (which is in itself new and has been causing users various problems).