<?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[.TXT filenames don&#x27;t get passed to NotePad++]]></title><description><![CDATA[<p dir="auto">In Windows 10 I have the .TXT file extension set to be opened by NotePad++.  If I invoke NP++ and select a .txt file from the Open menu the file opens OK.  But if I type (or select from File Manager) TextFile.txt,  NotePad++ executes but opens a blank page. The debug info shows that the command line is empty. This happens only on .TXT files. The lack of a command-line parameter being passed would seem to be a Windows problem but I couldn’t find a problem there. Here’s the debug info after entering “TextFile.txt” in the command line processor.</p>
<p dir="auto">Notepad++ v8.5.7   (64-bit)<br />
Build time : Sep  6 2023 - 23:13:49<br />
Path : c:\Program Files\NotePad++\NotePad++.exe<br />
Command Line :<br />
Admin mode : ON<br />
Local Conf mode : OFF<br />
Cloud Config : OFF<br />
OS Name : Windows 10 Home (64-bit)<br />
OS Version : 22H2<br />
OS Build : 19045.3324<br />
Current ANSI codepage : 1252<br />
Plugins :<br />
ComparePlugin (2.0.2)<br />
mimeTools (2.9)<br />
NppConverter (4.5)<br />
NppExport (0.4)</p>
<p dir="auto">Thanks for any attention to this. afk</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/24911/txt-filenames-don-t-get-passed-to-notepad</link><generator>RSS for Node</generator><lastBuildDate>Sun, 17 May 2026 18:46:10 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/24911.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 11 Sep 2023 15:13:59 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to .TXT filenames don&#x27;t get passed to NotePad++ on Mon, 11 Sep 2023 17:24:00 GMT]]></title><description><![CDATA[<p dir="auto">OK!! (maybe)</p>
<p dir="auto">You were right. I found the registry entry<br />
\HKEY_LOCAL_MACHINE\SOFTWARE\Classes\txtfile\shell\open\command<br />
with the entry<br />
//“c:\Program Files\NotePad++\NotePad++.exe”<br />
and added “%1” and it worked first time, every time.<br />
Thanks very much.<br />
I tried to upvote your answer but I don’t have enough “reputations”<br />
Austin Kelly</p>
]]></description><link>https://community.notepad-plus-plus.org/post/89209</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/89209</guid><dc:creator><![CDATA[afk afk]]></dc:creator><pubDate>Mon, 11 Sep 2023 17:24:00 GMT</pubDate></item><item><title><![CDATA[Reply to .TXT filenames don&#x27;t get passed to NotePad++ on Mon, 11 Sep 2023 17:20:08 GMT]]></title><description><![CDATA[<p dir="auto">Hi PeterJones,<br />
Your help worked. It was a registry problem.<br />
The site is giving me a hard time about replying. It tells me that I can’t use links. So I’m trying various test replys such as this one.<br />
It might take time to get it right.<br />
afk</p>
]]></description><link>https://community.notepad-plus-plus.org/post/89208</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/89208</guid><dc:creator><![CDATA[afk afk]]></dc:creator><pubDate>Mon, 11 Sep 2023 17:20:08 GMT</pubDate></item><item><title><![CDATA[Reply to .TXT filenames don&#x27;t get passed to NotePad++ on Mon, 11 Sep 2023 17:16:48 GMT]]></title><description><![CDATA[<p dir="auto">Test reply</p>
]]></description><link>https://community.notepad-plus-plus.org/post/89207</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/89207</guid><dc:creator><![CDATA[afk afk]]></dc:creator><pubDate>Mon, 11 Sep 2023 17:16:48 GMT</pubDate></item><item><title><![CDATA[Reply to .TXT filenames don&#x27;t get passed to NotePad++ on Mon, 11 Sep 2023 15:16:47 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/afk-afk" aria-label="Profile: afk-afk">@<bdi>afk-afk</bdi></a> said in <a href="/post/89204">.TXT filenames don't get passed to NotePad++</a>:</p>
<blockquote>
<p dir="auto">would seem to be a Windows problem but I couldn’t find a problem there</p>
</blockquote>
<p dir="auto">It’s most likely in your registry somewhere.  I would look into the various <code>.txt</code> registry entries, and make sure they point to <code>"c:\Program Files\notepad++\notepad++.exe" "%1"</code> or similar (without that <code>%1</code>, it won’t work; without the quotes around the <code>%1</code>, it won’t work if there are spaces in the path).</p>
]]></description><link>https://community.notepad-plus-plus.org/post/89205</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/89205</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Mon, 11 Sep 2023 15:16:47 GMT</pubDate></item></channel></rss>