<?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[Hyperlink to a file? Win10]]></title><description><![CDATA[<p dir="auto">Is there a way to have a hyperlink to another file? Some searching would indicated the format:</p>
<pre><code>file://[filename]
</code></pre>
<p dir="auto">or</p>
<pre><code>file:////[filename]
</code></pre>
<p dir="auto">or</p>
<pre><code>file:///[filename]
</code></pre>
<p dir="auto">…should do the trick. NPP highlights the line, like it does with all other hyperlinks, but clicking on it does nothing–no error message, no random app opening. Just nothing.</p>
<p dir="auto">Any recommendations?</p>
<p dir="auto">Thanks.</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/20246/hyperlink-to-a-file-win10</link><generator>RSS for Node</generator><lastBuildDate>Tue, 14 Apr 2026 11:35:52 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/20246.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 30 Oct 2020 15:54:21 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Hyperlink to a file? Win10 on Fri, 30 Oct 2020 19:39: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> said in <a href="/post/59247">Hyperlink to a file? Win10</a>:</p>
<blockquote>
<p dir="auto">you can select a path (whether relative or absolute, like c:\blah\file.txt or …\blah\file2.txt, and right click and select Open File</p>
</blockquote>
<p dir="auto">Wow! This is great. Obviously, I’ve never noticed that before. But this certainly makes the ability to link notes significantly easier.</p>
<p dir="auto">I’ve given up on most note taking applications. Evernote, OneNote, even tried Joplin. But nothing has replaced a bunch of old fashioned text files, many of them now in markdown format, and replicated using NextCloud.</p>
<p dir="auto">NextCloud has a decent markdown editor for mobile. All workstations need nothing more than NPP (which is on all of my systems).</p>
<p dir="auto">Thanks again!</p>
]]></description><link>https://community.notepad-plus-plus.org/post/59249</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/59249</guid><dc:creator><![CDATA[GarySe7en]]></dc:creator><pubDate>Fri, 30 Oct 2020 19:39:09 GMT</pubDate></item><item><title><![CDATA[Reply to Hyperlink to a file? Win10 on Fri, 30 Oct 2020 19:20:53 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/20230">@GarySe7en</a>,</p>
<p dir="auto">Note: in Notepad++, you can select a path (whether relative or absolute, like <code>c:\blah\file.txt</code> or <code>..\blah\file2.txt</code>, and right click and select <strong>Open File</strong> (equivalent to <strong>Edit &gt; On Selection &gt; Open File</strong>)… and Notepad++ will even allow <code>c:/blah/file.txt</code>, so if you select just the relative portion of the <code>file://</code> URL, then you can open that file in Notepad++ quite easily.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/59247</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/59247</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Fri, 30 Oct 2020 19:20:53 GMT</pubDate></item><item><title><![CDATA[Reply to Hyperlink to a file? Win10 on Fri, 30 Oct 2020 18:50:06 GMT]]></title><description><![CDATA[<p dir="auto">Thanks for the responses. Sorry if it wasn’t clear.</p>
<p dir="auto">What I am looking for is the ability to, from a hyperlink in one text file, open another text file in NPP. For example, filename1.txt is a text note with link:</p>
<pre><code>file://filename2.txt
</code></pre>
<p dir="auto">Clicking on that opens filename2.txt in NPP. That is what I am looking for.</p>
<p dir="auto">It would appear I need the fully qualified path. This works:</p>
<pre><code>file:///C:/Users/[removed]/notebook/2020-08%20journal%20daily%20summary.txt
</code></pre>
<p dir="auto">Relative paths do not work for me. Neither of these work:</p>
<pre><code>file:///2020-08%20journal%20daily%20summary.txt
file:///./2020-08%20journal%20daily%20summary.txt
</code></pre>
<p dir="auto">Either way, thanks for the suggestions. This was enough to get it to work for me, even though <em>how</em> it works doesn’t meet my needs–but that isn’t NPP problem, that a user case problem.</p>
<p dir="auto">Thanks again.</p>
<p dir="auto">Just for kicks, I tried this:</p>
<pre><code>mailto://some_random@email_address.com
</code></pre>
<p dir="auto">Which works most excellent.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/59246</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/59246</guid><dc:creator><![CDATA[GarySe7en]]></dc:creator><pubDate>Fri, 30 Oct 2020 18:50:06 GMT</pubDate></item><item><title><![CDATA[Reply to Hyperlink to a file? Win10 on Fri, 30 Oct 2020 17:31:20 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> My crystal ball has low battery)))</p>
]]></description><link>https://community.notepad-plus-plus.org/post/59245</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/59245</guid><dc:creator><![CDATA[andrecool-68]]></dc:creator><pubDate>Fri, 30 Oct 2020 17:31:20 GMT</pubDate></item><item><title><![CDATA[Reply to Hyperlink to a file? Win10 on Fri, 30 Oct 2020 17:22:40 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/14019">@andrecool-68</a></p>
<p dir="auto">I would infer, from the original posting, that what is expected is that following the link would open the file in Notepad++, but that’s just a guess.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/59244</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/59244</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Fri, 30 Oct 2020 17:22:40 GMT</pubDate></item><item><title><![CDATA[Reply to Hyperlink to a file? Win10 on Fri, 30 Oct 2020 17:16:50 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> What exactly the author of the question wants is not clear at all. I have no gift of foresight))</p>
]]></description><link>https://community.notepad-plus-plus.org/post/59243</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/59243</guid><dc:creator><![CDATA[andrecool-68]]></dc:creator><pubDate>Fri, 30 Oct 2020 17:16:50 GMT</pubDate></item><item><title><![CDATA[Reply to Hyperlink to a file? Win10 on Fri, 30 Oct 2020 16:59:47 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/14019">@andrecool-68</a> ,</p>
<p dir="auto">Relative links work fine in HTML in a browser.</p>
<p dir="auto">The question was about the <code>file://</code> URL protocol, and how Notepad++ handles that for double-clicking links in Notepad++ – not in a browser.</p>
<p dir="auto"><a href="https://stackoverflow.com/a/15193744/5508606" rel="nofollow ugc">This SO Answer</a> gives more about what variants are and are not allowed in the <code>file://</code> URL protocol, and links to <a href="https://en.wikipedia.org/wiki/File_URI_scheme" rel="nofollow ugc">the wikipedia page</a> with even more info.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/59241</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/59241</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Fri, 30 Oct 2020 16:59:47 GMT</pubDate></item><item><title><![CDATA[Reply to Hyperlink to a file? Win10 on Fri, 30 Oct 2020 16:30:56 GMT]]></title><description><![CDATA[<p dir="auto">Example:</p>
<p dir="auto"><img src="/assets/uploads/files/1604075373416-css-html.png" alt="css-html.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://community.notepad-plus-plus.org/post/59238</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/59238</guid><dc:creator><![CDATA[andrecool-68]]></dc:creator><pubDate>Fri, 30 Oct 2020 16:30:56 GMT</pubDate></item><item><title><![CDATA[Reply to Hyperlink to a file? Win10 on Fri, 30 Oct 2020 16:20:22 GMT]]></title><description><![CDATA[<p dir="auto">If you are going to write html sites, then I advise you to find out what a relative and absolute path is.<br />
<a href="https://www.google.com/search?q=Relative+and+absolute+path" rel="nofollow ugc">https://www.google.com/search?q=Relative+and+absolute+path</a></p>
]]></description><link>https://community.notepad-plus-plus.org/post/59237</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/59237</guid><dc:creator><![CDATA[andrecool-68]]></dc:creator><pubDate>Fri, 30 Oct 2020 16:20:22 GMT</pubDate></item><item><title><![CDATA[Reply to Hyperlink to a file? Win10 on Fri, 30 Oct 2020 16:10:22 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/20230">@GarySe7en</a> ,</p>
<p dir="auto">Use a full, correct file URL.<br />
if I have the following in Notepad++,</p>
<pre><code>file:///C:/Users/peter.jones/Downloads/TempData/nppCommunity/post19638.html
</code></pre>
<p dir="auto">and I double-click that, it opens that local file in my default browser.</p>
<p dir="auto">If you are unsure of the full, correct file URL for a given file, browse to that file in Windows Explorer normally, drag into your browser (which should open the local file), then copy from the URL bar and paste into Notepad++.  Close the browser tab with that file, so that you’ll know if the next step works.  Double-clicking on that URL should now work – it does for me.</p>
<p dir="auto">If it doesn’t, you’ll have to provide more information.  A screenshot showing the file correctly in browser; your Notepad++ <strong>?</strong> menu’s <strong>Debug Info</strong> contents, maybe a screenshot of a new Notepad++ window with just the same URL as your browser screenshot shows, and anything else you think might help us help you.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/59236</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/59236</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Fri, 30 Oct 2020 16:10:22 GMT</pubDate></item></channel></rss>