<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[NP++ making new folders and opening them in tabs]]></title><description><![CDATA[<p dir="auto">Hi, I have been reading a number of posts on here but not found anything that seems to cover this.<br />
If I try to open a document with multiple words separated by spaces in the title like ‘word1 word2.txt’ NP++ opens a small window saying ’ \word1\word2 does not exist, create it?’ then it will make folders with those names and open a tab for each but none of the tabs contain the text in the document and if I click ‘no’ NP++ just closes. Is there any way to stop it doing this and get it to just display the text in the document.<br />
NP++ ver 8.9.2 64 bit</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/27424/np-making-new-folders-and-opening-them-in-tabs</link><generator>RSS for Node</generator><lastBuildDate>Thu, 15 Oct 2026 08:52:30 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/27424.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 20 Feb 2026 13:57:14 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to NP++ making new folders and opening them in tabs on Fri, 20 Feb 2026 16:14:09 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/tangfolio" aria-label="Profile: Tangfolio">@<bdi>Tangfolio</bdi></a> ,</p>
<p dir="auto">From a Windows command line, to pass a filename with spaces to an application, you need to put quotes around the filename.  This is the way that Windows defines the command-line interface, and not something specific to Notepad++</p>
<hr />
<p dir="auto"><em>update: sorry, that was an abbreviated response.  Real life interrupted, so I posted what I had so far, at the time.  continuing where I left off:</em></p>
<p dir="auto">So, from the command line, <code>notepad++.exe word1 word2.txt</code> would try to open <code>word1</code> and <code>word2.txt</code> in the current directory, which presumably don’t exist, whereas <code>notepad++.exe "word1 word2.txt"</code> would properly try to open the file with spaces in the name.</p>
<p dir="auto">If you are using the right-click context menu in Explorer, the normal <strong>Edit with Notepad++</strong> (which gets added via NppShell.dll, when you do a normal Notepad++ installation), then it should handle the spaces just fine.  But if you created your own Notepad++ entry using <code>regedit</code> or a registry <code>.reg</code> file, you have to make sure that your entry says, <code>"c:\Program Files\Notepad++\notepad++.exe" "%1"</code>, with the quotes around each, otherwise it will behave as you described.</p>
<p dir="auto">Again, requiring the quotes around the filename is just the way Windows OS has defined the command-line interface (but similar is true in other operating systems, as well, because any OS must be able to tell the difference between <code>program file1 file2.txt</code> trying to work on two different files and <code>program "word1 word2.txt"</code> trying to work on one file with a space in the name.)</p>
]]></description><link>https://community.notepad-plus-plus.org/post/104810</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/104810</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Fri, 20 Feb 2026 16:14:09 GMT</pubDate></item></channel></rss>