<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: Removing Duplicate Entries From %PATH%	</title>
	<atom:link href="https://intellitect.com/blog/removing-duplicate-entries-from-path/feed/" rel="self" type="application/rss+xml" />
	<link>https://intellitect.com/blog/removing-duplicate-entries-from-path/</link>
	<description>Complex Software Development - Simplified</description>
	<lastBuildDate>Tue, 26 Apr 2022 18:30:04 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>
	<item>
		<title>
		By: asheroto		</title>
		<link>https://intellitect.com/blog/removing-duplicate-entries-from-path/#comment-386483</link>

		<dc:creator><![CDATA[asheroto]]></dc:creator>
		<pubDate>Mon, 17 Jan 2022 14:18:37 +0000</pubDate>
		<guid isPermaLink="false">http://intellitect.com/?p=3207#comment-386483</guid>

					<description><![CDATA[ Hi, looks likes there&#039;s a bug!

I improved upon the idea a bit and published this Gist:
https://gist.github.com/asheroto/fa216475272e58837b06c4be61088530]]></description>
			<content:encoded><![CDATA[<p> Hi, looks likes there&#8217;s a bug!</p>
<p>I improved upon the idea a bit and published this Gist:<br />
<a href="https://gist.github.com/asheroto/fa216475272e58837b06c4be61088530" rel="nofollow ugc">https://gist.github.com/asheroto/fa216475272e58837b06c4be61088530</a></p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Mark Michaelis		</title>
		<link>https://intellitect.com/blog/removing-duplicate-entries-from-path/#comment-386363</link>

		<dc:creator><![CDATA[Mark Michaelis]]></dc:creator>
		<pubDate>Wed, 15 Sep 2021 21:50:58 +0000</pubDate>
		<guid isPermaLink="false">http://intellitect.com/?p=3207#comment-386363</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://intellitect.com/blog/removing-duplicate-entries-from-path/#comment-3024&quot;&gt;Michael Sinz&lt;/a&gt;.

Wow... impressive!]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://intellitect.com/blog/removing-duplicate-entries-from-path/#comment-3024">Michael Sinz</a>.</p>
<p>Wow&#8230; impressive!</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: John Smart		</title>
		<link>https://intellitect.com/blog/removing-duplicate-entries-from-path/#comment-386362</link>

		<dc:creator><![CDATA[John Smart]]></dc:creator>
		<pubDate>Wed, 15 Sep 2021 21:01:59 +0000</pubDate>
		<guid isPermaLink="false">http://intellitect.com/?p=3207#comment-386362</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://intellitect.com/blog/removing-duplicate-entries-from-path/#comment-3024&quot;&gt;Michael Sinz&lt;/a&gt;.

!!!! Thank you! I changed the right-double-quotes and left-double-quotes to just plain double-quotes and this worked on the first try!!!]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://intellitect.com/blog/removing-duplicate-entries-from-path/#comment-3024">Michael Sinz</a>.</p>
<p>!!!! Thank you! I changed the right-double-quotes and left-double-quotes to just plain double-quotes and this worked on the first try!!!</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Michael Sinz		</title>
		<link>https://intellitect.com/blog/removing-duplicate-entries-from-path/#comment-3024</link>

		<dc:creator><![CDATA[Michael Sinz]]></dc:creator>
		<pubDate>Fri, 26 Jul 2013 20:17:21 +0000</pubDate>
		<guid isPermaLink="false">http://intellitect.com/?p=3207#comment-3024</guid>

					<description><![CDATA[Here is a “cute” way to do it in plain CMD shell script:

I called the script “CleanupPath.cmd” and you just run it and your path duplicates will be removed without changing the order of the path.

@setlocal EnableExtensions EnableDelayedExpansion
@set _PATH_=
@for %%a in (&quot;%PATH:;=&quot; &quot;%&quot;) do @if not &quot;%%~a&quot; == &quot;&quot; (
    @if &quot;!_PATH_!&quot; == &quot;&quot; @set &quot;_PATH_=;%%~a;&quot;
    @set &quot;_T_=!_PATH_:;%%~a;=x!&quot;
    @if &quot;!_T_!&quot; == &quot;!_PATH_!&quot; @set &quot;_PATH_=!_PATH_!%%~a;&quot;
)
@endlocal &#038;&#038; @set &quot;PATH=%_PATH_:~1,-1%]]></description>
			<content:encoded><![CDATA[<p>Here is a “cute” way to do it in plain CMD shell script:</p>
<p>I called the script “CleanupPath.cmd” and you just run it and your path duplicates will be removed without changing the order of the path.</p>
<p>@setlocal EnableExtensions EnableDelayedExpansion<br />
@set _PATH_=<br />
@for %%a in (&#8220;%PATH:;=&#8221; &#8220;%&#8221;) do @if not &#8220;%%~a&#8221; == &#8220;&#8221; (<br />
    @if &#8220;!_PATH_!&#8221; == &#8220;&#8221; @set &#8220;_PATH_=;%%~a;&#8221;<br />
    @set &#8220;_T_=!_PATH_:;%%~a;=x!&#8221;<br />
    @if &#8220;!_T_!&#8221; == &#8220;!_PATH_!&#8221; @set &#8220;_PATH_=!_PATH_!%%~a;&#8221;<br />
)<br />
@endlocal &amp;&amp; @set &#8220;PATH=%_PATH_:~1,-1%</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Thomas Schweikle		</title>
		<link>https://intellitect.com/blog/removing-duplicate-entries-from-path/#comment-2761</link>

		<dc:creator><![CDATA[Thomas Schweikle]]></dc:creator>
		<pubDate>Thu, 04 Apr 2013 15:06:27 +0000</pubDate>
		<guid isPermaLink="false">http://intellitect.com/?p=3207#comment-2761</guid>

					<description><![CDATA[Can&#039;t work. At least one closing &quot;)&quot; is missing.]]></description>
			<content:encoded><![CDATA[<p>Can&#8217;t work. At least one closing &#8220;)&#8221; is missing.</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
