<?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[How to open specific files in different folder where root folder might be varied. Open File in Solution is my temporary solution.]]></title><description><![CDATA[<p dir="auto">Notepad++ is decent for my paper working.<br />
I’d like to find a way for open specific files at the same time like the example below.</p>
<p dir="auto">Resource files are customized and organized in locale folders.<br />
I Need to open different files having same name in different locale folders.</p>
<p dir="auto">Eg:<br />
Open “FormString.xml” file in ENG, CHT, CHS folders.<br />
PS: File name would be varied. It will not always be “FormString.xml”.<br />
–project folder<br />
–ENG<br />
–FormString.xml<br />
–PopupString.xml<br />
–CHT<br />
–FormString.xml<br />
–PopupString.xml<br />
–CHS<br />
–FormString.xml<br />
–PopupString.xml</p>
<p dir="auto">So far I found “Open File in Solution” is near to my goal.<br />
However I need to switch project locations frequently in SolutionHub is a bit pain in the neck.</p>
<p dir="auto">The steps below is in a bit of a hassle.</p>
<ol>
<li>Open SolutionHub and change the folder</li>
<li>Select the folder in folder dialog. ( Note you can’t pase path, need to clicking all the ways down. )</li>
<li>Save connections.</li>
</ol>
<p dir="auto">Is there a way to dynamically change Solution hub ofis connection folder location for searching?<br />
Or any other solution is appreciated.</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/18857/how-to-open-specific-files-in-different-folder-where-root-folder-might-be-varied-open-file-in-solution-is-my-temporary-solution</link><generator>RSS for Node</generator><lastBuildDate>Mon, 13 Apr 2026 18:02:21 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/18857.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 03 Feb 2020 07:41:48 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How to open specific files in different folder where root folder might be varied. Open File in Solution is my temporary solution. on Wed, 05 Feb 2020 12:45:37 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/7377">@Alan-Kilborn</a> said in <a href="/post/50310">How to open specific files in different folder where root folder might be varied. Open File in Solution is my temporary solution.</a>:</p>
<blockquote>
<p dir="auto">It sounds to me like a scripting plugin is needed to solve this problem.</p>
</blockquote>
<p dir="auto">Batch file scripting.  The plugin-less scripting!  :-)</p>
]]></description><link>https://community.notepad-plus-plus.org/post/50338</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/50338</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Wed, 05 Feb 2020 12:45:37 GMT</pubDate></item><item><title><![CDATA[Reply to How to open specific files in different folder where root folder might be varied. Open File in Solution is my temporary solution. on Wed, 05 Feb 2020 04:40:33 GMT]]></title><description><![CDATA[<p dir="auto">This is my right click on a file solution.<br />
It comes up with <a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/195">@guy038</a> 's suggestion.<br />
If anyone need to use it.</p>
<ol>
<li>Change the reg file location to where you put batch file.</li>
<li>Change the batch file XXNotePadPPPath to your actual notepad++ path.</li>
<li>Right click on any file will do the work.</li>
</ol>
<p dir="auto">Batchfile</p>
<pre><code>setlocal

FOR %%i IN (%1) DO (
echo filedrive=%%~di
echo set filepath=%%~pi
echo filename=%%~ni
echo fileextension=%%~xi

set XXFilePath=%%~di%%~pi
set XXFilename=%%~ni%%~xi
)

set XXRootPath=%XXFilePath%..\\..
set XXEngPath=%XXRootPath%\\Common\\String_CncEngs\\%XXFilename%
set XXChtPath=%XXRootPath%\\CHT\\String_CncEngs\\%XXFilename%
set XXChsPath=%XXRootPath%\\CHS\\String_CncEngs\\%XXFilename%
"C:\Program Files\Notepad++\notepad++.exe" -nosession %XXEngPath% %XXChtPath% %XXChsPath%
endlocal
</code></pre>
<p dir="auto">While using a reg setting. This is tested and run on win10.</p>
<p dir="auto">Registry file</p>
<pre><code>setlocal
set XXNotePadPPPath="C:\Program Files\Notepad++\notepad++.exe"

FOR %%i IN (%1) DO (
echo filedrive=%%~di
echo set filepath=%%~pi
echo filename=%%~ni
echo fileextension=%%~xi

set XXFilePath=%%~di%%~pi
set XXFilename=%%~ni%%~xi
)

set XXRootPath=%XXFilePath%..\\..
set XXEngPath=%XXRootPath%\\Common\\String_CncEngs\\%XXFilename%
set XXChtPath=%XXRootPath%\\CHT\\String_CncEngs\\%XXFilename%
set XXChsPath=%XXRootPath%\\CHS\\String_CncEngs\\%XXFilename%
%XXNotePadppPath% -nosession %XXEngPath% %XXChtPath% %XXChsPath%
endlocal
</code></pre>
]]></description><link>https://community.notepad-plus-plus.org/post/50333</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/50333</guid><dc:creator><![CDATA[Louis Go]]></dc:creator><pubDate>Wed, 05 Feb 2020 04:40:33 GMT</pubDate></item><item><title><![CDATA[Reply to How to open specific files in different folder where root folder might be varied. Open File in Solution is my temporary solution. on Wed, 05 Feb 2020 02:42:03 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/195">@guy038</a><br />
guy038 Thanks!<br />
It’s the simplest solution. I was digging in the wrong direction too deep.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/50332</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/50332</guid><dc:creator><![CDATA[Louis Go]]></dc:creator><pubDate>Wed, 05 Feb 2020 02:42:03 GMT</pubDate></item><item><title><![CDATA[Reply to How to open specific files in different folder where root folder might be varied. Open File in Solution is my temporary solution. on Tue, 04 Feb 2020 16:02:01 GMT]]></title><description><![CDATA[<p dir="auto">Hello, <a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/17656">@louis-go</a>, <a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/3841">@Peterjones</a>, <a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/7377">@alan-kilborn</a> and <strong>All</strong>,</p>
<p dir="auto">Why not a very simple <strong>batch</strong> file, like below, with the <strong>comments</strong> inside ?</p>
<pre><code class="language-sh">@echo off

if NOT %2!==! goto Proc

echo.
echo.
echo     Syntax ( 2 PARAMETERS ) :
echo.
echo.
echo         Test.bat (FIRST part of the PATH) (File_NAME)
echo.
echo.
echo.
echo     Open in NOTEPAD++, the 3 FILES in PARAMETER 2, present UNDER the folders
echo.
echo      'ENG', 'CHS' and 'CHT', which are located UNDER the path in PARAMETER 1
echo.
echo.
echo.
echo     REMARK : If any PARAMETER contains SPACE chars, SURROUND it with 2 "" chars
echo.
echo.

goto :EOF


:Proc

REM "&lt;Installation PATH&gt;\notepad++.exe" -nosession %1\ENG\\%2 %1\CHT\\%2 %1\CHS\\%2

</code></pre>
<ul>
<li>
<p dir="auto"><strong>Delete</strong>, at the <strong>end</strong>, the command <strong><code>REM</code></strong> and replace the part <strong><code>&lt;Installation PATH&gt;</code></strong> with your <strong>full pathname</strong> to Notepad++.exe</p>
</li>
<li>
<p dir="auto">Save the <strong>modifications</strong></p>
</li>
</ul>
<p dir="auto">Enjoy !</p>
<p dir="auto">Best Regards,</p>
<p dir="auto">guy038</p>
]]></description><link>https://community.notepad-plus-plus.org/post/50316</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/50316</guid><dc:creator><![CDATA[guy038]]></dc:creator><pubDate>Tue, 04 Feb 2020 16:02:01 GMT</pubDate></item><item><title><![CDATA[Reply to How to open specific files in different folder where root folder might be varied. Open File in Solution is my temporary solution. on Tue, 04 Feb 2020 12:53:56 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/17656">@Louis-Go</a></p>
<p dir="auto">It sounds to me like a scripting plugin is needed to solve this problem.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/50310</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/50310</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Tue, 04 Feb 2020 12:53:56 GMT</pubDate></item><item><title><![CDATA[Reply to How to open specific files in different folder where root folder might be varied. Open File in Solution is my temporary solution. on Tue, 04 Feb 2020 09:24:09 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/3841">@PeterJones</a><br />
As far as I know save sessions only save in absolute path and cannot fulfill my need above.</p>
<p dir="auto">Sorry for not describiing my question clearly.</p>
<p dir="auto">I want to open following files at the same time<br />
C:\solution1\ENG\File.xml<br />
C:\solution1\CHT\File.xml<br />
C:\solution1\CHS\File.xml</p>
<p dir="auto">Where “C:\solution1” could be “D:\solution2” and “File.xml” could be “Another.xml”<br />
ENG CHT and CHS folder are fixed in relative location.<br />
Both root path and file name could be varied and I can’t predict those names.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/50308</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/50308</guid><dc:creator><![CDATA[Louis Go]]></dc:creator><pubDate>Tue, 04 Feb 2020 09:24:09 GMT</pubDate></item><item><title><![CDATA[Reply to How to open specific files in different folder where root folder might be varied. Open File in Solution is my temporary solution. on Mon, 03 Feb 2020 13:58:11 GMT]]></title><description><![CDATA[<p dir="auto">Sorry, I know nothing about Solution Hub (hadn’t even heard of that plugin until just now).</p>
<p dir="auto">If I’ve understood what you want, you may want to look into <a href="https://npp-user-manual.org/docs/session/" rel="nofollow ugc">sessions</a>, which are “a set of files opened in Notepad++”: <strong>Save Session</strong> and <strong>Load Session</strong> functionality is built into Notepad++'s <strong>File</strong> menu.  I have heard from others that if you have more than a couple sessions that you want to deal with, the <a href="https://mfoster.com/npp/SessionMgr.html" rel="nofollow ugc"><strong>Session Manager</strong> plugin</a> (installable through the <strong>Plugins &gt; Plugins Admin</strong>) is useful.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/50283</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/50283</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Mon, 03 Feb 2020 13:58:11 GMT</pubDate></item></channel></rss>