<?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[Notepad++ Run a Batch File From Current Directory]]></title><description><![CDATA[<p dir="auto">how can I Edit shortcuts.xml file so that I Can Run a batch file from my current directory. Actually, when I Run a Batch File in Notepad++ ,it is taking it to its directory C:\Program Files\Notepad++ and then running it in that directory, but i want it to run that file where it is located.<br />
My Batch File Is Located In:D:\Projects\Java\Executor Java.bat</p>
<pre><code>&lt;Command name="Java_Executor" Ctrl="no" Alt="no" Shift="no" Key="0"&gt;&amp;quot;D:\Projects\Java\Executor Java.bat&amp;quot;&lt;/Command&gt;
</code></pre>
<p dir="auto">Can You Please Edit this So That I Can Run It from the current Directory where it is located.<br />
Thanks.</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/18927/notepad-run-a-batch-file-from-current-directory</link><generator>RSS for Node</generator><lastBuildDate>Tue, 06 Oct 2026 16:50:23 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/18927.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 17 Feb 2020 10:46:18 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Notepad++ Run a Batch File From Current Directory on Tue, 18 Feb 2020 17:01:23 GMT]]></title><description><![CDATA[<blockquote>
<p dir="auto">I will try this and will surely tell you if it worked</p>
</blockquote>
<p dir="auto">It wasn’t so much a “worked” as “we need to see what Notepad++ is sending to the command processor to figure out what’s going wrong”.</p>
<p dir="auto">But with the bit of information, it’s irrelevant now:</p>
<blockquote>
<p dir="auto">I used <code>%cd%</code> to go to the directory… but <code>cd /d "%~dp0"</code> should be used in case of opening batch file</p>
</blockquote>
<p dir="auto">Yes, the <code>/d</code> makes sense. I tend to forget that changing directory <em>and drive</em> using <code>cd</code> is more difficult; I primarily use single-drive systems (well, at work, we have network drives mapped to letters, but I’m almost never <code>cd</code>-ing into those directories)</p>
<p dir="auto">The <code>%~dp0</code> changes the batch/script name to just be a drive and folder… but since in the NotepadPlusPlus user-commands, you don’t have a batch/script filename, and <code>$(CURRENT_DIRECTORY)</code> already gives what you want (just the drive and folder), you don’t need that part.</p>
<p dir="auto">So, the command you need is</p>
<pre><code>&lt;Command name="Java_Executor" Ctrl="no" Alt="no" Shift="no" Key="0"&gt;cmd /k cd /d &amp;quot;$(CURRENT_DIRECTORY)&amp;quot; &amp;amp;&amp;amp; &amp;quot;D:\Projects\Java\Executor_Java.bat&amp;quot;&lt;/Command&gt;
</code></pre>
<p dir="auto">Note: I also put quotes around <code>$(CURRENT_DIRECTORY)</code> as well, in case it has spaces in the path.</p>
<p dir="auto">BTW: Thanks for linking to the SO thread; when asking a question in multiple forums, it’s polite to crosslink both right away, so people can see whether it’s already been answered in the other location, or can learn from the other community’s responses.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/50777</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/50777</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Tue, 18 Feb 2020 17:01:23 GMT</pubDate></item><item><title><![CDATA[Reply to Notepad++ Run a Batch File From Current Directory on Tue, 18 Feb 2020 16:40:16 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> , thanku for Your Help i found this community very helpful, I will try this and will surely tell you if it worked… BTW i got an answer from stackoverflow… they told that my batch file was not able to take directory properly, I used <code>%cd%</code> to go to the directory… but <code> cd /d "%~dp0"</code> should be used in case of opening batch file from notepad++.<br />
You can refer to this thread: <a href="https://stackoverflow.com/questions/60261732/run-a-batch-file-from-its-parent-directory-in-notepad?noredirect=1#comment106613957_60261732" rel="nofollow ugc">https://stackoverflow.com/questions/60261732/run-a-batch-file-from-its-parent-directory-in-notepad?noredirect=1#comment106613957_60261732</a><br />
p.s.:Sorry if i wasted your time…</p>
]]></description><link>https://community.notepad-plus-plus.org/post/50776</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/50776</guid><dc:creator><![CDATA[Garvit Joshi]]></dc:creator><pubDate>Tue, 18 Feb 2020 16:40:16 GMT</pubDate></item><item><title><![CDATA[Reply to Notepad++ Run a Batch File From Current Directory on Mon, 17 Feb 2020 21:31:18 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/garvit-joshi" aria-label="Profile: Garvit-Joshi">@<bdi>Garvit-Joshi</bdi></a> ,</p>
<p dir="auto">re: #1: As <a class="plugin-mentions-user plugin-mentions-a" href="/user/ekopalypse" aria-label="Profile: Ekopalypse">@<bdi>Ekopalypse</bdi></a> said, that shouldn’t happen unless you’re in a new file, rather than a file in the desired directory.</p>
<p dir="auto">If I use the following in the <strong>Run &gt; Run</strong> menu:</p>
<pre><code>cmd /k echo "$(CURRENT_DIRECTORY)" "$(FULL_CURRENT_PATH)" "$(FILE_NAME)" "$(NAME_PART)" "$(EXT_PART)" "$(CURRENT_WORD)" "$(CURRENT_LINE)" "$(CURRENT_COLUMN)" "$(NPP_DIRECTORY)" "$(NPP_FULL_FILE_PATH)"
</code></pre>
<p dir="auto">If I run that command in a new document, I get:</p>
<pre><code>"" "new 1" "new 1" "new 1" "" "" "0" "200" "C:\usr\local\apps\notepad++" "C:\usr\local\apps\notepad++\notepad++.exe"
</code></pre>
<p dir="auto">If I run that same command in a different file, which has been saved and exists on disk (I just change the active tab to the already-existing file, then <strong>Run &gt; Run</strong> again):</p>
<pre><code>"C:\usr\local\share\PassThru\homeTresor\Other\.cpanreporter" "C:\usr\local\share\PassThru\homeTresor\Other\.cpanreporter\petercj.readme" "petercj.readme" "petercj" ".readme" "or" "9" "35" "C:\usr\local\apps\notepad++" "C:\usr\local\apps\notepad++\notepad++.exe"
</code></pre>
<p dir="auto">please run a similar experiment: once when you have your real file loaded, and once when you have a new file in the active editor tab.</p>
<p dir="auto">-----</p>
<p dir="auto">#3: You said,</p>
<blockquote>
<p dir="auto">I have Done Everything In sequence , as I can See a new run statement Java_Executor in Run.</p>
</blockquote>
<p dir="auto">That doesn’t necessarily mean you’ve done everything in proper sequence.  Have you reloaded Notepad++ since you <em>changed</em> <code>shortcuts.xml</code> ?  Because in your first post, you originally had</p>
<pre><code>&lt;Command name="Java_Executor" Ctrl="no" Alt="no" Shift="no" Key="0"&gt;&amp;quot;D:\Projects\Java\Executor Java.bat&amp;quot;&lt;/Command&gt;
</code></pre>
<p dir="auto">but now (post <a href="https://community.notepad-plus-plus.org/post/50725">https://community.notepad-plus-plus.org/post/50725</a>) you showed</p>
<pre><code>&lt;Command name="Java_Executor" Ctrl="no" Alt="no" Shift="no" Key="0"&gt;cmd /k cd $(CURRENT_DIRECTORY) &amp;amp;&amp;amp; &amp;quot;D:\Projects\Java\Executor_Java.bat&amp;quot;&lt;/Command&gt;
</code></pre>
<p dir="auto">both of those would still show <code>Java_Executor</code> in the run menu.  So we need to know if you’ve actually reloaded Notepad++ since you made that change.  And we need to know whether <code>shortcuts.xml</code> still contains the newer version of the command after the reload, or whether it reverted back to your original.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/50751</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/50751</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Mon, 17 Feb 2020 21:31:18 GMT</pubDate></item><item><title><![CDATA[Reply to Notepad++ Run a Batch File From Current Directory on Mon, 17 Feb 2020 18:25:08 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/garvit-joshi" aria-label="Profile: Garvit-Joshi">@<bdi>Garvit-Joshi</bdi></a> said in <a href="/post/50740">Notepad++ Run a Batch File From Current Directory</a>:</p>
<blockquote>
<p dir="auto">1.When I Run This I got  C:\Program Files\Notepad++</p>
</blockquote>
<p dir="auto">but you made sure that the file you had open actually is a saved file, correct?<br />
I mean, if your current document is for example a <strong>new 1</strong> file it would return the npp directory but if the current document is a saved file it<br />
should open the directory of that file.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/50741</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/50741</guid><dc:creator><![CDATA[Ekopalypse]]></dc:creator><pubDate>Mon, 17 Feb 2020 18:25:08 GMT</pubDate></item><item><title><![CDATA[Reply to Notepad++ Run a Batch File From Current Directory on Mon, 17 Feb 2020 17:59:21 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> Answers:<br />
1.When I Run This I got  <code>C:\Program Files\Notepad++</code><br />
2.The Default Directory IS Set to <code>Follow Current Document</code>.<br />
3.Yes I have Done Everything In sequence , as I can See a new run statement <code> Java_Executor</code>  in Run.<br />
<a href="http://4.My" rel="nofollow ugc">4.My</a> right <code>shortcuts.xml</code> lies in <code>APPDATA</code>  not in <code>Program Files</code><br />
<a href="http://5.My" rel="nofollow ugc">5.My</a> Debug info:Notepad++ v7.8.4   (64-bit)<br />
Build time : Jan 29 2020 - 01:31:03<br />
Path : C:\Program Files\Notepad++\notepad++.exe<br />
Admin mode : OFF<br />
Local Conf mode : OFF<br />
OS Name : Windows 10 Home Single Language (64-bit)<br />
OS Version : 1909<br />
OS Build : 18363.657<br />
Plugins : mimeTools.dll NppConverter.dll NppExport.dll</p>
]]></description><link>https://community.notepad-plus-plus.org/post/50740</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/50740</guid><dc:creator><![CDATA[Garvit Joshi]]></dc:creator><pubDate>Mon, 17 Feb 2020 17:59:21 GMT</pubDate></item><item><title><![CDATA[Reply to Notepad++ Run a Batch File From Current Directory on Mon, 17 Feb 2020 15:29:13 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/guy038" aria-label="Profile: guy038">@<bdi>guy038</bdi></a></p>
<p dir="auto">Yes. :-)</p>
]]></description><link>https://community.notepad-plus-plus.org/post/50734</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/50734</guid><dc:creator><![CDATA[Ekopalypse]]></dc:creator><pubDate>Mon, 17 Feb 2020 15:29:13 GMT</pubDate></item><item><title><![CDATA[Reply to Notepad++ Run a Batch File From Current Directory on Mon, 17 Feb 2020 14:18:54 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/garvit-joshi" aria-label="Profile: Garvit-Joshi">@<bdi>Garvit-Joshi</bdi></a> ,</p>
<p dir="auto">Reading through this thread, I am not 100% sure of your exact sequence of events.  There have been mentions of editing <code>shortcuts.xml</code>, but also of using the <strong>Run &gt; Run</strong> menu.</p>
<p dir="auto">So, some questions for clarification:</p>
<ol>
<li>If you have a file from <code>D:\Projects\Java</code> open, and select the menu command <strong>Run &gt; Run</strong>, and only type <code>cmd /k cd $(CURRENT_DIRECTORY)</code>, does it open in <code>C:\Program Files\Notepad++</code> or in <code>D:\Projects\Java</code> ?</li>
<li>What is your <strong>Settings &gt; Preferences &gt; Default Directory (Open/Save)</strong> set to?</li>
<li>When you edited <code>shortcuts.xml</code> to say <code>&lt;Command name="Java_Executor" Ctrl="no" Alt="no" Shift="no" Key="0"&gt;cmd /k cd $(CURRENT_DIRECTORY) &amp;amp;&amp;amp; &amp;quot;D:\Projects\Java\Executor_Java.bat&amp;quot;&lt;/Command&gt;</code>, what was your sequence?  I ask, because just saving that file is not enough: you have to reload Notepad++.  You also need to make sure you are editing the right one.</li>
<li>To find out which is the right <code>shortcuts.xml</code>, please go to the <strong>?</strong> menu (the menu to the right of <strong>Window</strong> on the menu bar), select <strong>Debug Info</strong>, and <strong>Copy debug info into clipboard</strong>, and paste into your reply.</li>
<li>If it says <code>Local Conf mode : OFF</code>, then the right <code>shortcuts.xml</code> is <code>%AppData%\Notepad++\shortcuts.xml</code>, so if you were editing <code>C:\Program Files\Notepad++\shortcuts.xml</code>, you were not influencing the Run menu at all.</li>
</ol>
<p dir="auto">Assuming you are not in local conf mode, the right sequence, as described <a href="https://npp-user-manual.org/docs/config-files/#editing-configuration-files" rel="nofollow ugc">in the official docs</a>, is</p>
<ol>
<li>Close all active instances of Notepad++</li>
<li>Open one instance of Notepad++</li>
<li>Edit the configuration file (for you, type <code>%AppData%\Notepad++\shortcuts.xml</code> when you do <strong>File &gt; Open</strong>)</li>
<li>Save</li>
<li>Exit Notepad++</li>
<li>Reload Notepad++</li>
<li>The changes will now be in effect.</li>
</ol>
<p dir="auto">If you are still having problems after being certain you edited the correct file and have re-started, then we’ll probably run an experiment where we simplify your command (temporarily not having the <code>&amp;&amp;  "D:\Projects\Java\Executor_Java.bat"</code> in the command) to see whether it’s the <code>&amp;&amp;</code> notation messing things up.</p>
<p dir="auto">But let’s start with having you answer everything I’ve asked in this post, first.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/50731</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/50731</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Mon, 17 Feb 2020 14:18:54 GMT</pubDate></item><item><title><![CDATA[Reply to Notepad++ Run a Batch File From Current Directory on Mon, 17 Feb 2020 14:04:18 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/guy038" aria-label="Profile: guy038">@<bdi>guy038</bdi></a> Sir, Actually When I Wrote <code>cmd /k cd $(CURRENT_DIRECTORY)</code> It opened cmd in  <code>C:\Program Files\Notepad++</code> ,but <code>File&gt;Open Containing Folder &gt;cmd</code> opened cmd in the <code>D:\Projects\Java&gt; </code> , where i want it to open</p>
]]></description><link>https://community.notepad-plus-plus.org/post/50729</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/50729</guid><dc:creator><![CDATA[Garvit Joshi]]></dc:creator><pubDate>Mon, 17 Feb 2020 14:04:18 GMT</pubDate></item><item><title><![CDATA[Reply to Notepad++ Run a Batch File From Current Directory on Mon, 17 Feb 2020 13:33:31 GMT]]></title><description><![CDATA[<p dir="auto">Hi, <a class="plugin-mentions-user plugin-mentions-a" href="/user/garvit-joshi" aria-label="Profile: garvit-joshi">@<bdi>garvit-joshi</bdi></a>, <a class="plugin-mentions-user plugin-mentions-a" href="/user/ekopalypse" aria-label="Profile: ekopalypse">@<bdi>ekopalypse</bdi></a>, <a class="plugin-mentions-user plugin-mentions-a" href="/user/alan-kilborn" aria-label="Profile: Alan-kilborn">@<bdi>Alan-kilborn</bdi></a> and <strong>All</strong>,</p>
<p dir="auto">So, as I understand it, <strong>independently</strong> of the <a class="plugin-mentions-user plugin-mentions-a" href="/user/garvit-joshi" aria-label="Profile: garvit-joshi">@<bdi>garvit-joshi</bdi></a>’s problem, writing <strong><code>cmd /k cd $(CURRENT_DIRECTORY)</code></strong>, in the <strong><code>Run &gt; Run...</code></strong> menu option, is <strong>equivalent</strong> to the <strong><code>File &gt; Open Containing Folder &gt; cmd</code></strong> menu option ?</p>
<p dir="auto">Best Regards,</p>
<p dir="auto">guy038</p>
]]></description><link>https://community.notepad-plus-plus.org/post/50727</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/50727</guid><dc:creator><![CDATA[guy038]]></dc:creator><pubDate>Mon, 17 Feb 2020 13:33:31 GMT</pubDate></item><item><title><![CDATA[Reply to Notepad++ Run a Batch File From Current Directory on Mon, 17 Feb 2020 13:31:03 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/alan-kilborn" aria-label="Profile: Alan-Kilborn">@<bdi>Alan-Kilborn</bdi></a></p>
<pre><code>&lt;NotepadPlus&gt;
    &lt;InternalCommands /&gt;
    &lt;Macros&gt;
        &lt;Macro name="Trim Trailing Space and Save" Ctrl="no" Alt="yes" Shift="yes" Key="83"&gt;
            &lt;Action type="2" message="0" wParam="42024" lParam="0" sParam="" /&gt;
            &lt;Action type="2" message="0" wParam="41006" lParam="0" sParam="" /&gt;
        &lt;/Macro&gt;
    &lt;/Macros&gt;
    &lt;UserDefinedCommands&gt;
		&lt;!--
		The following shortcuts are dangerous if your computer is compromised.
		(But if your computer is compromised, EVERYTHING IS DANGEROUS!)
		Remove the comment and use them at your own risk!!!

        &lt;Command name="Launch in Firefox" Ctrl="yes" Alt="yes" Shift="yes" Key="88"&gt;firefox &amp;quot;$(FULL_CURRENT_PATH)&amp;quot;&lt;/Command&gt;
        &lt;Command name="Launch in IE" Ctrl="yes" Alt="yes" Shift="yes" Key="73"&gt;iexplore &amp;quot;$(FULL_CURRENT_PATH)&amp;quot;&lt;/Command&gt;
        &lt;Command name="Launch in Chrome" Ctrl="yes" Alt="yes" Shift="yes" Key="82"&gt;chrome &amp;quot;$(FULL_CURRENT_PATH)&amp;quot;&lt;/Command&gt;
        &lt;Command name="Launch in Safari" Ctrl="yes" Alt="yes" Shift="yes" Key="65"&gt;safari &amp;quot;$(FULL_CURRENT_PATH)&amp;quot;&lt;/Command&gt;
        &lt;Command name="Send via Outlook" Ctrl="yes" Alt="yes" Shift="yes" Key="79"&gt;outlook /a &amp;quot;$(FULL_CURRENT_PATH)&amp;quot;&lt;/Command&gt;
		--&gt;
        &lt;Command name="Get PHP help" Ctrl="no" Alt="yes" Shift="no" Key="112"&gt;https://www.php.net/$(CURRENT_WORD)&lt;/Command&gt;
        &lt;Command name="Wikipedia Search" Ctrl="no" Alt="yes" Shift="no" Key="114"&gt;https://en.wikipedia.org/wiki/Special:Search?search=$(CURRENT_WORD)&lt;/Command&gt;
        &lt;Command name="Open file in another instance" Ctrl="no" Alt="yes" Shift="no" Key="117"&gt;$(NPP_FULL_FILE_PATH) $(CURRENT_WORD) -nosession -multiInst&lt;/Command&gt;
        &lt;Command name="Java_Executor" Ctrl="no" Alt="no" Shift="no" Key="0"&gt;cmd /k cd $(CURRENT_DIRECTORY) &amp;amp;&amp;amp; &amp;quot;D:\Projects\Java\Executor_Java.bat&amp;quot;&lt;/Command&gt;
    &lt;/UserDefinedCommands&gt;
    &lt;PluginCommands /&gt;
    &lt;ScintillaKeys /&gt;
&lt;/NotepadPlus&gt;
</code></pre>
<p dir="auto">here’s the whole shortcuts.xml file.<br />
<img src="/assets/uploads/files/1581946253811-te.png" alt="te.PNG" class=" img-fluid img-markdown" /></p>
]]></description><link>https://community.notepad-plus-plus.org/post/50725</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/50725</guid><dc:creator><![CDATA[Garvit Joshi]]></dc:creator><pubDate>Mon, 17 Feb 2020 13:31:03 GMT</pubDate></item><item><title><![CDATA[Reply to Notepad++ Run a Batch File From Current Directory on Mon, 17 Feb 2020 13:12:55 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/garvit-joshi" aria-label="Profile: Garvit-Joshi">@<bdi>Garvit-Joshi</bdi></a> said in <a href="/post/50722">Notepad++ Run a Batch File From Current Directory</a>:</p>
<blockquote>
<p dir="auto">but batch file is still going to notepad++ directory</p>
</blockquote>
<p dir="auto">Not for me.</p>
<p dir="auto">If I do <code>cmd /k</code> <em>then</em> I get the Notepad++ directory.</p>
<p dir="auto">But doing <code>cmd /k cd $(CURRENT_DIRECTORY)</code> I get the directory of the active file.</p>
<p dir="auto">Just like what I would expect from what <a class="plugin-mentions-user plugin-mentions-a" href="/user/ekopalypse" aria-label="Profile: Ekopalypse">@<bdi>Ekopalypse</bdi></a> said…</p>
]]></description><link>https://community.notepad-plus-plus.org/post/50723</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/50723</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Mon, 17 Feb 2020 13:12:55 GMT</pubDate></item><item><title><![CDATA[Reply to Notepad++ Run a Batch File From Current Directory on Mon, 17 Feb 2020 13:03:37 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ekopalypse" aria-label="Profile: Ekopalypse">@<bdi>Ekopalypse</bdi></a> Sorry, but batch file is still going to notepad++ directory.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/50722</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/50722</guid><dc:creator><![CDATA[Garvit Joshi]]></dc:creator><pubDate>Mon, 17 Feb 2020 13:03:37 GMT</pubDate></item><item><title><![CDATA[Reply to Notepad++ Run a Batch File From Current Directory on Mon, 17 Feb 2020 12:03:48 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/garvit-joshi" aria-label="Profile: Garvit-Joshi">@<bdi>Garvit-Joshi</bdi></a></p>
<p dir="auto">for example</p>
<p dir="auto"><code>&lt;Command name="Java_Executor" Ctrl="no" Alt="no" Shift="no" Key="0"&gt;cmd /k cd $(CURRENT_DIRECTORY) &amp;amp;&amp;amp;  &amp;quot;D:\Projects\Java\Executor Java.bat&amp;quot;&lt;/Command&gt;</code></p>
<p dir="auto">/k is for keeping the cmd window open, /C would be used in order to close it automatically.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/50719</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/50719</guid><dc:creator><![CDATA[Ekopalypse]]></dc:creator><pubDate>Mon, 17 Feb 2020 12:03:48 GMT</pubDate></item></channel></rss>