<?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[Cant change cursor color, and latest version shortcut to start batch file claims it cant find it]]></title><description><![CDATA[<p dir="auto">Hello!</p>
<p dir="auto">today I upgraded to the latest versions (since years I havent did this) and I have a c:\xxx.bat file starting from a shortcut, and now it claims it doesnt find it. when going back to older version (7.5, 8.0) this works.</p>
<p dir="auto">also cant change cursor color, I am trying to change it in style configurator global styles -&gt; caret color, doesnt work, theme is set to default, I have an own defined languge styler, but I dont find it in the language list in case it should be changed there. cursor is black.</p>
<p dir="auto">thanks for any help!</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/27423/cant-change-cursor-color-and-latest-version-shortcut-to-start-batch-file-claims-it-cant-find-it</link><generator>RSS for Node</generator><lastBuildDate>Tue, 11 Aug 2026 07:43:07 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/27423.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 19 Feb 2026 14:14:42 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Cant change cursor color, and latest version shortcut to start batch file claims it cant find it on Fri, 20 Feb 2026 21:09:48 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/waskoma" aria-label="Profile: waskoma">@<bdi>waskoma</bdi></a> said in <a href="/post/104814">Cant change cursor color, and latest version shortcut to start batch file claims it cant find it</a>:</p>
<blockquote>
<pre><code>        &lt;Command name="Wikipedia Search" Ctrl="no" Alt="yes" Shift="no" Key="87"&gt;
c:\64start.bat $(FILE_NAME) $(NAME_PART).prg &amp;quot;$(CURRENT_DIRECTORY)&amp;quot;&lt;/Command&gt;
</code></pre>
</blockquote>
<p dir="auto">I cannot replicate the problem (so far)</p>
<p dir="auto"><strong>content of <code>c:\64start.bat</code></strong>:</p>
<pre><code class="language-cmd">@echo ran command `%0 %*`
@pause
</code></pre>
<p dir="auto"><strong>content of <code>shortcuts.xml</code> entry</strong>:</p>
<pre><code class="language-xml">        &lt;Command name="Waskoma Command" Ctrl="no" Alt="yes" Shift="no" Key="87"&gt;c:\64start.bat $(FILE_NAME) $(NAME_PART).prg &amp;quot;$(CURRENT_DIRECTORY)&amp;quot;&lt;/Command&gt;
</code></pre>
<p dir="auto">I tried with two files each, once with v8.4.1 and once with v8.9.2.</p>
<p dir="auto"><strong>For <code>...\FileNameNoSpaces.txt</code></strong>:</p>
<pre><code>v8.4.1 results:
ran command `"C:\64start.bat" FileNameNoSpaces.txt FileNameNoSpaces.prg "C:\usr\local\apps\npp\npp.8.4.1.waskoma"`
Press any key to continue . . .

v8.9.2 results:
ran command `"C:\64start.bat" FileNameNoSpaces.txt FileNameNoSpaces.prg "C:\usr\local\apps\npp\npp.8.9.2.waskoma"`
Press any key to continue . . .
</code></pre>
<p dir="auto"><strong>For <code>...\File Name With Spaces.txt</code></strong>:</p>
<pre><code>v8.4.1 results:
ran command `"C:\64start.bat" File Name With Spaces.txt File Name With Spaces.prg "C:\usr\local\apps\npp\npp.8.4.1.waskoma"`
Press any key to continue . . .

v8.9.2 results:
ran command `"C:\64start.bat" File Name With Spaces.txt File Name With Spaces.prg "C:\usr\local\apps\npp\npp.8.9.2.waskoma"`
Press any key to continue . . .
</code></pre>
<p dir="auto">So both worked for me, and Notepad++ had no trouble running the <code>64start.bat</code>, whether in v8.4.1 or v8.9.2</p>
<p dir="auto">However, this works on the assumption that there wasn’t really the newline before <code>c:\64start.bat</code> in your XML.  It <em>shouldn’t</em> matter, but it also shouldn’t be there; so if there is the extra newline, delete it.</p>
<p dir="auto">Also, my test works on the assumption that <em>your</em> <code>64start.bat</code> will do the “right thing” with spaces in the filename without quotes, which I am highly dubious of.  My working theory is that the problem is actually either the missing quotes, or something that’s being called inside your batch file.</p>
<p dir="auto">Notepad++ has been undergoing changes in which XML reader library it is using for parsing the config files like <code>shortcuts.xml</code>… so if you’ve actually got that newline, or if you have more entities than <code>&amp;quot;</code> which you haven’t told us about, it might be behaving differently between the two, and that might explain the difference in behavior.</p>
<p dir="auto">As an experiment, if removing the newline wasn’t enough to fix it, you might want to try renaming your <code>64start.bat</code> and putting in a new version that’s got my contents.  If it properly runs and gives similar results to what I showed in my experiment, then the problem is likely the quoting.  If it doesn’t properly run, even though you are using the same <code>&lt;Command...&gt;</code> entry, then I am betting you edited your command entry before posting it here, and whatever you edited out is the culprit.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/104816</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/104816</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Fri, 20 Feb 2026 21:09:48 GMT</pubDate></item><item><title><![CDATA[Reply to Cant change cursor color, and latest version shortcut to start batch file claims it cant find it on Fri, 20 Feb 2026 21:18:59 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/waskoma" aria-label="Profile: waskoma">@<bdi>waskoma</bdi></a> said in <a href="/post/104814">Cant change cursor color, and latest version shortcut to start batch file claims it cant find it</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/peterjones" aria-label="Profile: PeterJones">@<bdi>PeterJones</bdi></a></p>
<p dir="auto">here is the part from shortcuts.xml:</p>
<pre><code>        &lt;Command name="Wikipedia Search" Ctrl="no" Alt="yes" Shift="no" Key="87"&gt;
c:\64start.bat $(FILE_NAME) $(NAME_PART).prg &amp;quot;$(CURRENT_DIRECTORY)&amp;quot;&lt;/Command&gt;
</code></pre>
</blockquote>
<p dir="auto">Does your file name and/or directory name have spaces in it?  Because their really should be quotes around each of those portions, because file names <em>can</em> have spaces.</p>
<blockquote>
<p dir="auto">but it must be the version hence going back to older version immediately solves the problem.  Currently I have 8.4.1 and it works.</p>
</blockquote>
<p dir="auto">I will experiment in a few minutes to see if I can replicate the different behavior.</p>
<blockquote>
<p dir="auto">I changed now to 8.9.2. and I immediately get the error again: “the system cannot find the file specified” “command:blabla” “error code2:”</p>
</blockquote>
<p dir="auto">That sounds like it could be the quoting.  But that wouldn’t explain the difference between 8.9.2 vs 8.4.1.</p>
<blockquote>
<p dir="auto">I solved the caret colour problem by using style configurator and then global override, but it was in 8.4.1, I see it looks different now in 8.9.2.</p>
</blockquote>
<p dir="auto">Forcing Global Override on colors is almost always a bad idea.</p>
<blockquote>
<p dir="auto">while we’re at it, some years ago probably it was you helping me to get code folding working I want to use:<br />
…</p>
</blockquote>
<p dir="auto"><s>Could you go post</s> I replied to that part in <a href="/topic/24478">the original topic</a> – it’s better to keep topics on one subject, rather than a random conglomeration.  (It’s already hard enough in this discussion with two completely separate concepts in this Topic; let’s not tackle a third.)</p>
]]></description><link>https://community.notepad-plus-plus.org/post/104815</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/104815</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Fri, 20 Feb 2026 21:18:59 GMT</pubDate></item><item><title><![CDATA[Reply to Cant change cursor color, and latest version shortcut to start batch file claims it cant find it on Fri, 20 Feb 2026 20:31:39 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/peterjones" aria-label="Profile: PeterJones">@<bdi>PeterJones</bdi></a></p>
<p dir="auto">here is the part from shortcuts.xml:</p>
<pre><code>        &lt;Command name="Wikipedia Search" Ctrl="no" Alt="yes" Shift="no" Key="87"&gt;
c:\64start.bat $(FILE_NAME) $(NAME_PART).prg &amp;quot;$(CURRENT_DIRECTORY)&amp;quot;&lt;/Command&gt;
</code></pre>
<p dir="auto">but it must be the version hence going back to older version immediately solves the problem.  Currently I have 8.4.1 and it works.</p>
<p dir="auto">I changed now to 8.9.2. and I immediately get the error again: “the system cannot find the file specified” “command:blabla” “error code2:”</p>
<p dir="auto">I solved the caret colour problem by using style configurator and then global override, but it was in 8.4.1, I see it looks different now in 8.9.2.</p>
<p dir="auto">while we’re at it, some years ago probably it was you helping me to get code folding working I want to use:</p>
<p dir="auto">;blockbegin<br />
;blockend</p>
<p dir="auto">but that doesnt work again, looking at it at 8.9.2 it seems to recognize it only when there are like above right in the next row to eachother.</p>
<p dir="auto">allow folding of comments is checked. comment line is set to “,”</p>
<p dir="auto">line comment position is allow preceding white space</p>
]]></description><link>https://community.notepad-plus-plus.org/post/104814</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/104814</guid><dc:creator><![CDATA[waskoma]]></dc:creator><pubDate>Fri, 20 Feb 2026 20:31:39 GMT</pubDate></item><item><title><![CDATA[Reply to Cant change cursor color, and latest version shortcut to start batch file claims it cant find it on Thu, 19 Feb 2026 16:51:16 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/waskoma" aria-label="Profile: waskoma">@<bdi>waskoma</bdi></a> said in <a href="/post/104800">Cant change cursor color, and latest version shortcut to start batch file claims it cant find it</a>:</p>
<blockquote>
<p dir="auto">today I upgraded to the latest versions</p>
</blockquote>
<p dir="auto">Which version do you think is the latest (see <a href="/topic/25627/faq-why-can-t-i-just-say-most-recent-version">FAQ: Most Recent Version</a>)?  ie, did you just <strong>? &gt; Update Notepad++</strong> to get v8.9.1? Or was it a few weeks ago, and pointing to v8.8.8 (IIRC)?  Because the actual latest is v8.9.2.  But if you’re not explicit, we don’t know what definition of “latest” you are using.</p>
<blockquote>
<p dir="auto">(since years I havent did this) and I have a c:\xxx.bat file starting from a shortcut, and now it claims it doesnt find it. when going back to older version (7.5, 8.0) this works.</p>
</blockquote>
<p dir="auto">can you show us the relevant portions of the <code>&lt;UserDefinedCommands&gt;</code> section of <code>shortcuts.xml</code> – specifically, the <code>&lt;Command&gt;</code> entry for the <code>c:\xxx.bat</code> … because the way you described your action, there shouldn’t be any change in how a run-menu-command is processed between v8.0 and now.</p>
<blockquote>
<p dir="auto">also cant change cursor color, I am trying to change it in style configurator global styles -&gt; caret color, doesnt work, theme is set to default, I have an own defined languge styler, but I dont find it in the language list in case it should be changed there. cursor is black.</p>
</blockquote>
<p dir="auto">It works for me, in both v8.9.1 and v8.9.2.<br />
<img src="/assets/uploads/files/1771519122011-8476a169-99fd-402d-8f9b-09249d00da94-image.png" alt="8476a169-99fd-402d-8f9b-09249d00da94-image.png" class=" img-fluid img-markdown" /><br />
<img src="/assets/uploads/files/1771519134397-2d41522f-0f19-478e-bdce-7aaec055be8c-image.png" alt="2d41522f-0f19-478e-bdce-7aaec055be8c-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">If you have done a multi-select (ctrl+click) to have multiple carets, then you also have to use Multi-Edits Colour, otherwise, they will be separate colors, as in:<br />
<img src="/assets/uploads/files/1771519194236-aec014b8-eb99-4c14-aa05-1b9a6e964972-image.png" alt="aec014b8-eb99-4c14-aa05-1b9a6e964972-image.png" class=" img-fluid img-markdown" /></p>
<hr />
<p dir="auto"><em>update</em>: also, what are your <strong>Settings &gt; Preferences &gt; Editing 1 &gt; Caret</strong> settings?  Because with width=1, it’s really hard to see, and you just might not notice the change in color.  For my screenshots above, I was using width=3 and super-slow blink rate, so that the screenshot would easily show the change in color.  But by default, Caret settings look more like this :<br />
<img src="/assets/uploads/files/1771519860227-65c3d853-d699-4797-b6be-e44b5f46c060-image.png" alt="65c3d853-d699-4797-b6be-e44b5f46c060-image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://community.notepad-plus-plus.org/post/104801</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/104801</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Thu, 19 Feb 2026 16:51:16 GMT</pubDate></item></channel></rss>