<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://wiki.ledhed.net/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.ledhed.net/index.php?action=history&amp;feed=atom&amp;title=Robocopy_Junction_Loop</id>
		<title>Robocopy Junction Loop - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.ledhed.net/index.php?action=history&amp;feed=atom&amp;title=Robocopy_Junction_Loop"/>
		<link rel="alternate" type="text/html" href="https://wiki.ledhed.net/index.php?title=Robocopy_Junction_Loop&amp;action=history"/>
		<updated>2026-05-22T18:02:17Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.23.2</generator>

	<entry>
		<id>//wiki.ledhed.net/index.php?title=Robocopy_Junction_Loop&amp;diff=2662&amp;oldid=prev</id>
		<title>Ledhed at 03:36, 26 July 2012</title>
		<link rel="alternate" type="text/html" href="https://wiki.ledhed.net/index.php?title=Robocopy_Junction_Loop&amp;diff=2662&amp;oldid=prev"/>
				<updated>2012-07-26T03:36:57Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 03:36, 26 July 2012&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 51:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 51:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Windows&lt;/del&gt;]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Robocopy&lt;/ins&gt;]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Ledhed</name></author>	</entry>

	<entry>
		<id>//wiki.ledhed.net/index.php?title=Robocopy_Junction_Loop&amp;diff=2628&amp;oldid=prev</id>
		<title>Ledhed: Created page with 'Robocopy is a powerful copy tool and its now included in Windows 2008.&lt;br&gt;    == Overview ==  If you're here its most likely because you created a copy loop due to NTFS junction ...'</title>
		<link rel="alternate" type="text/html" href="https://wiki.ledhed.net/index.php?title=Robocopy_Junction_Loop&amp;diff=2628&amp;oldid=prev"/>
				<updated>2012-03-24T09:03:41Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;#039;Robocopy is a powerful copy tool and its now included in Windows 2008.&amp;lt;br&amp;gt;    == Overview ==  If you&amp;#039;re here its most likely because you created a copy loop due to NTFS junction ...&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Robocopy is a powerful copy tool and its now included in Windows 2008.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Overview ==&lt;br /&gt;
&lt;br /&gt;
If you're here its most likely because you created a copy loop due to NTFS junction points.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If so you probably have a folder with more files or subfolders than the NTFS filesystem can handle.&amp;lt;br&amp;gt;&lt;br /&gt;
Deleting them isn't really an option as it would take you years to get through them all.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You may be thinking about formatting your drive, but this handy little trick may save you a lot of grief (I know it did for me).&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Using Robocopy to unloop itself! ==&lt;br /&gt;
Robocopy has a /PURGE feature that you can use to remove the thousands/millions of usless files and folder.&lt;br /&gt;
&lt;br /&gt;
First create an empty folder&lt;br /&gt;
&lt;br /&gt;
 mkdir c:\empty&lt;br /&gt;
&lt;br /&gt;
Second, run robocopy with the purge option against your looped folder (the one with thousands of files/folders)&lt;br /&gt;
&lt;br /&gt;
 robocopy c:\empty c:\Users\someone /purge&lt;br /&gt;
&lt;br /&gt;
Presto!! All those nasty files are gone.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Preventing Robocopy from Looping ==&lt;br /&gt;
Robocopy has two command switches that can prevent you from doing this in the future.&lt;br /&gt;
 /XJF  -  Exclude Junctioned Files&lt;br /&gt;
 /XJD  -  Exclude Junctioned Directories&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
http://www.sevenforums.com/general-discussion/60292-robocopy-mass-nesting-bug.html&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
http://answers.microsoft.com/en-us/windows/forum/windows_7-files/windows-7-infinite-loop-while-using-robocopy/20f32f0c-4cb9-4125-923d-6a57e4d27232&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Windows]]&lt;/div&gt;</summary>
		<author><name>Ledhed</name></author>	</entry>

	</feed>