<?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++ BAT CMD Macros]]></title><description><![CDATA[<p dir="auto">Notepad++ BAT CMD How to use the my macros for all files in the folder, with a batch file?</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/15408/notepad-bat-cmd-macros</link><generator>RSS for Node</generator><lastBuildDate>Wed, 19 Aug 2026 02:55:31 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/15408.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 13 Mar 2018 20:36:00 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Notepad++ BAT CMD Macros on Tue, 13 Mar 2018 21:14:11 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/%D0%B2%D0%B0%D1%81%D1%8F-%D0%BF%D0%BE%D0%BF%D0%BE%D0%B2" aria-label="Profile: Вася-Попов">@<bdi>Вася-Попов</bdi></a></p>
<p dir="auto">thought about it but don’t see that this can be achieved with npp builtin functions.<br />
By any chance, do you use some plugins like nppexec, python script or lua script?<br />
Then it might be possible to do things like</p>
<p dir="auto">for each file in directory<br />
run macro<br />
save/close file</p>
<p dir="auto">But to be honest, I wouldn’t do it using npp instead using a scripting language like perl, python etc…</p>
<p dir="auto">Cheers<br />
Claudia</p>
]]></description><link>https://community.notepad-plus-plus.org/post/30875</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/30875</guid><dc:creator><![CDATA[Claudia Frank]]></dc:creator><pubDate>Tue, 13 Mar 2018 21:14:11 GMT</pubDate></item><item><title><![CDATA[Reply to Notepad++ BAT CMD Macros on Tue, 13 Mar 2018 21:01:30 GMT]]></title><description><![CDATA[<p dir="auto">my macro consists of the following:<br />
“Flagging”<br />
in the field to find I enter: .msh|.scn|.dds|.mat|.wav|.ogg|.def|.edcs|.eds|.fkd|.fscr|.height|.ini|.lmap|.lmf|.map|.sdat|.skn|.track|.3da|.pfm|.fxm|.bak|.txt<br />
mark the found lines with a bookmark,<br />
I delete lines without a bookmark<br />
“Replace”<br />
in the field “find” I enter: [^\x20-\x7E]+|[\x3A-\x40]+|[\x21-\x2C]+ (sorting the ANSI file from not GEA8)<br />
“replace with” … (regular expression of line wrapping)<br />
I repeat the marking of lines, with a bookmark and then deleting the lines that do not contain the search words.<br />
And I save the file.</p>
<p dir="auto">I need to perform these actions for ~90,000 files, how can I do this automatically?</p>
]]></description><link>https://community.notepad-plus-plus.org/post/30874</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/30874</guid><dc:creator><![CDATA[Вася Попов]]></dc:creator><pubDate>Tue, 13 Mar 2018 21:01:30 GMT</pubDate></item><item><title><![CDATA[Reply to Notepad++ BAT CMD Macros on Tue, 13 Mar 2018 20:42:55 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/%D0%B2%D0%B0%D1%81%D1%8F-%D0%BF%D0%BE%D0%BF%D0%BE%D0%B2" aria-label="Profile: Вася-Попов">@<bdi>Вася-Попов</bdi></a></p>
<p dir="auto">you mean macros recorded by npp?<br />
If so, afaik you can’t call it from a batch file easily as the recorded macros are basically<br />
messages send to windows handles/hwnds using SendMessage api (more or less).</p>
<p dir="auto">Cheers<br />
Claudia</p>
]]></description><link>https://community.notepad-plus-plus.org/post/30873</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/30873</guid><dc:creator><![CDATA[Claudia Frank]]></dc:creator><pubDate>Tue, 13 Mar 2018 20:42:55 GMT</pubDate></item></channel></rss>