<?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[%USERPROFILE% in File URI Link in Notepad++]]></title><description><![CDATA[<p dir="auto">I have this link in a text file in Notepad++:</p>
<pre><code>file:///C:/Users/john.doe/some_folder/test%20file.bat
</code></pre>
<p dir="auto">It uses the three slashes convention File URI Scheme to create a link in a text file in Notepad++</p>
<p dir="auto">If I double-click on this link, it runs the linked batch file.</p>
<p dir="auto">I want to change this link to:</p>
<pre><code>file:///%USERPROFILE%/some_folder/test%20file.bat
</code></pre>
<p dir="auto">This doesn’t work.</p>
<p dir="auto">Is there some character I can add or remove or escape to make it work?</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/19985/userprofile-in-file-uri-link-in-notepad</link><generator>RSS for Node</generator><lastBuildDate>Mon, 20 Jul 2026 06:35:09 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/19985.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 11 Sep 2020 21:17:15 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to %USERPROFILE% in File URI Link in Notepad++ on Fri, 11 Sep 2020 23:07:26 GMT]]></title><description><![CDATA[<p dir="auto">Thanks.</p>
<p dir="auto">(The only reason I’m using the Microsoft Store version is that this is a work laptop and I don’t have admin privileges to otherwise make a portable install of Notepad++ the default text file handler. But your point is noted.)</p>
]]></description><link>https://community.notepad-plus-plus.org/post/57558</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/57558</guid><dc:creator><![CDATA[xmatic]]></dc:creator><pubDate>Fri, 11 Sep 2020 23:07:26 GMT</pubDate></item><item><title><![CDATA[Reply to %USERPROFILE% in File URI Link in Notepad++ on Fri, 11 Sep 2020 21:42:03 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/xmatic" aria-label="Profile: xmatic">@<bdi>xmatic</bdi></a> said in <a href="/post/57556">%USERPROFILE% in File URI Link in Notepad++</a>:</p>
<blockquote>
<p dir="auto">Using Notepad++ 7.5.9 obtained from the Microsoft Store.</p>
</blockquote>
<p dir="auto">Don’t do this.</p>
<p dir="auto">As you’ve already discovered, Notepad++ doesn’t interpret “variables” such as these the same as Windows itself does.  There is no workaround.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/57557</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/57557</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Fri, 11 Sep 2020 21:42:03 GMT</pubDate></item><item><title><![CDATA[Reply to %USERPROFILE% in File URI Link in Notepad++ on Fri, 11 Sep 2020 21:22:41 GMT]]></title><description><![CDATA[<p dir="auto">Just wanted to add:</p>
<p dir="auto">Windows 10 here. Using Notepad++ 7.5.9 obtained from the Microsoft Store.</p>
<p dir="auto">%USERPROFILE% is a Windows environment variable.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/57556</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/57556</guid><dc:creator><![CDATA[xmatic]]></dc:creator><pubDate>Fri, 11 Sep 2020 21:22:41 GMT</pubDate></item></channel></rss>