<?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[Open Notepad++ and do filecompare]]></title><description><![CDATA[<p dir="auto">We want to open Notepad++ with a  commandline  (using cmd or PowerShell) in order to compare two files.<br />
Any suggestions?<br />
regards<br />
Han</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/21149/open-notepad-and-do-filecompare</link><generator>RSS for Node</generator><lastBuildDate>Sun, 10 May 2026 05:05:08 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/21149.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 10 May 2021 16:32:58 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Open Notepad++ and do filecompare on Tue, 11 May 2021 07:11:09 GMT]]></title><description><![CDATA[<p dir="auto">Michael and Peter, thanks we’ll look in to that</p>
]]></description><link>https://community.notepad-plus-plus.org/post/65880</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/65880</guid><dc:creator><![CDATA[Han Kortekaas]]></dc:creator><pubDate>Tue, 11 May 2021 07:11:09 GMT</pubDate></item><item><title><![CDATA[Reply to Open Notepad++ and do filecompare on Mon, 10 May 2021 17:02:24 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/michael-vincent" aria-label="Profile: Michael-Vincent">@<bdi>Michael-Vincent</bdi></a> said in <a href="/post/65847">Open Notepad++ and do filecompare</a>:</p>
<blockquote>
<p dir="auto">Maybe a macro or a PythonScript startup script could help here?</p>
</blockquote>
<p dir="auto">(Linking to the old sourceforge page is not the best place to start; that site is very out of date, compared to the PythonScript v1.5.4 that you can get from the Plugins Admin.  The <a href="https://github.com/bruderstein/PythonScript" rel="nofollow ugc">github PythonScript mainpage</a> is probably a better link for the plugin.)</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/han-kortekaas" aria-label="Profile: Han-Kortekaas">@<bdi>Han-Kortekaas</bdi></a> ,</p>
<p dir="auto">If you want to use PythonScript to call a plugin command, you should probably start with <a class="plugin-mentions-user plugin-mentions-a" href="/user/ekopalypse" aria-label="Profile: Ekopalypse">@<bdi>Ekopalypse</bdi></a>’s  <a href="https://community.notepad-plus-plus.org/post/52805"><code>-z</code> command line processing example</a> .  The <code>-z</code>, <a href="https://npp-user-manual.org/docs/command-prompt/#additional-options" rel="nofollow ugc">as described in the online usermanual</a> allows you to separate <s>extensions</s> <em>command-line arguments</em>, so Notepad++ will ignore any options after that, but plugins can see them in the command line and trigger some action.  <a class="plugin-mentions-user plugin-mentions-a" href="/user/ekopalypse" aria-label="Profile: Ekopalypse">@<bdi>Ekopalypse</bdi></a>’s example showed launching the menu command <strong>View &gt; Monitoring…</strong>, but you can also use the same technique but the <code>notepad.runPluginCommand()</code> to run a specific plugin command, like enabling compare on the two opened files.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/65848</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/65848</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Mon, 10 May 2021 17:02:24 GMT</pubDate></item><item><title><![CDATA[Reply to Open Notepad++ and do filecompare on Mon, 10 May 2021 16:51:36 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/han-kortekaas" aria-label="Profile: Han-Kortekaas">@<bdi>Han-Kortekaas</bdi></a> said in <a href="/post/65845">Open Notepad++ and do filecompare</a>:</p>
<blockquote>
<p dir="auto">We want to open Notepad++ with a  commandline  (using cmd or PowerShell) in order to compare two files.<br />
Any suggestions?</p>
</blockquote>
<p dir="auto">The Compare plugin used to be able to do this:<br />
<a href="https://stackoverflow.com/questions/20170541/running-notepad-from-command-line-with-compare-plugin-showing-compare-result" rel="nofollow ugc">https://stackoverflow.com/questions/20170541/running-notepad-from-command-line-with-compare-plugin-showing-compare-result</a></p>
<p dir="auto">But I have the latest Notepad++ and Compare plugin and the <code>compare.exe</code> no longer seems to be included.</p>
<p dir="auto">Maybe a macro or a <a href="http://npppythonscript.sourceforge.net/" rel="nofollow ugc">PythonScript</a> startup script could help here?</p>
<p dir="auto">Cheers.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/65847</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/65847</guid><dc:creator><![CDATA[Michael Vincent]]></dc:creator><pubDate>Mon, 10 May 2021 16:51:36 GMT</pubDate></item></channel></rss>