<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.0.5" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Long Path Madness</title>
	<link>http://www.terminally-incoherent.com/blog/2008/01/13/long-path-madness/</link>
	<description>Utterly random, incoherent and disjointed rants and ramblings...</description>
	<pubDate>Wed, 03 Dec 2008 02:42:51 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0.5</generator>

	<item>
		<title>by: Muhammad</title>
		<link>http://www.terminally-incoherent.com/blog/2008/01/13/long-path-madness/#comment-7739</link>
		<pubDate>Tue, 15 Jan 2008 03:58:24 +0000</pubDate>
		<guid>http://www.terminally-incoherent.com/blog/2008/01/13/long-path-madness/#comment-7739</guid>
					<description>Just right-clicking My Documents and hit properties. From there you can relocate your My Documents folder. No need for registry hacking.

It's good to relocate this folder, for the exact reasons Luke has said above.</description>
		<content:encoded><![CDATA[<p>Just right-clicking My Documents and hit properties. From there you can relocate your My Documents folder. No need for registry hacking.</p>
<p>It&#8217;s good to relocate this folder, for the exact reasons Luke has said above.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Luke Maciak</title>
		<link>http://www.terminally-incoherent.com/blog/2008/01/13/long-path-madness/#comment-7720</link>
		<pubDate>Mon, 14 Jan 2008 16:00:48 +0000</pubDate>
		<guid>http://www.terminally-incoherent.com/blog/2008/01/13/long-path-madness/#comment-7720</guid>
					<description>&lt;strong&gt;@Travis&lt;/strong&gt; - tl/dr version: the MAX_PATH in windows is 256 characters and it sucks! lol

&lt;strong&gt;@Starhawk&lt;/strong&gt; - yes, you could relocate My Documents to a better place. I recommend a separate partition or a secondary drive for example which has added benefit of separating your data from your OS and application files. :)</description>
		<content:encoded><![CDATA[<p><strong>@Travis</strong> - tl/dr version: the MAX_PATH in windows is 256 characters and it sucks! lol</p>
<p><strong>@Starhawk</strong> - yes, you could relocate My Documents to a better place. I recommend a separate partition or a secondary drive for example which has added benefit of separating your data from your OS and application files. <img src="http://www.terminally-incoherent.com/blog/wp-includes/images/smilies/icon_smile.gif" alt=")" class="wp-smiley" />
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Starhawk</title>
		<link>http://www.terminally-incoherent.com/blog/2008/01/13/long-path-madness/#comment-7718</link>
		<pubDate>Mon, 14 Jan 2008 15:38:50 +0000</pubDate>
		<guid>http://www.terminally-incoherent.com/blog/2008/01/13/long-path-madness/#comment-7718</guid>
					<description>Ya gotta love Windows. lol. I wonder how long we gonna continue to be cursed by the 2 to the eight thing anyway. That maybe made some kinda sense in the MS Dos days but is retarded in a modern OS. 

The simplest solution would be to move the My Documents folder to a better location. It's not too hard, see &lt;a href="http://support.microsoft.com/?id=310147" rel="nofollow"&gt;How to Change the Default Location of the My Documents Folder&lt;/a&gt;. I've never did it but it should work ok and btw the same method works for Win 2000 pro. I don't think it works on Win 98 and stuff like that but I could be wrong. Doubt many ppl still use these OSes anyway. If they do I think a registry hack will do the trick.</description>
		<content:encoded><![CDATA[<p>Ya gotta love Windows. lol. I wonder how long we gonna continue to be cursed by the 2 to the eight thing anyway. That maybe made some kinda sense in the MS Dos days but is retarded in a modern OS. </p>
<p>The simplest solution would be to move the My Documents folder to a better location. It&#8217;s not too hard, see <a href="http://support.microsoft.com/?id=310147" rel="nofollow">How to Change the Default Location of the My Documents Folder</a>. I&#8217;ve never did it but it should work ok and btw the same method works for Win 2000 pro. I don&#8217;t think it works on Win 98 and stuff like that but I could be wrong. Doubt many ppl still use these OSes anyway. If they do I think a registry hack will do the trick.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Travis McCrea</title>
		<link>http://www.terminally-incoherent.com/blog/2008/01/13/long-path-madness/#comment-7716</link>
		<pubDate>Mon, 14 Jan 2008 15:30:44 +0000</pubDate>
		<guid>http://www.terminally-incoherent.com/blog/2008/01/13/long-path-madness/#comment-7716</guid>
					<description>My new thing with blogs is tl/dr versions are needed ;)</description>
		<content:encoded><![CDATA[<p>My new thing with blogs is tl/dr versions are needed <img src="http://www.terminally-incoherent.com/blog/wp-includes/images/smilies/icon_wink.gif" alt=")" class="wp-smiley" />
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Luke Maciak</title>
		<link>http://www.terminally-incoherent.com/blog/2008/01/13/long-path-madness/#comment-7712</link>
		<pubDate>Mon, 14 Jan 2008 03:50:55 +0000</pubDate>
		<guid>http://www.terminally-incoherent.com/blog/2008/01/13/long-path-madness/#comment-7712</guid>
					<description>I suspect it makes no difference internally, since these system variables simply expand to appropriate paths - they are not symlinks or junctions.

You could possibly truncate the path by say creating a &lt;a href="http://www.microsoft.com/technet/sysinternals/FileAndDisk/Junction.mspx" rel="nofollow"&gt;junction&lt;/a&gt; from:

C:\reports\

to 

C:\Documents and Settings\Johnathan Smith\Work Files\Reports 07\

Then each year you can just re-junction the reports folder to another one. Or you could skip My Documents and just keep your files on the root drive.  But again, not a perfect solution. :(</description>
		<content:encoded><![CDATA[<p>I suspect it makes no difference internally, since these system variables simply expand to appropriate paths - they are not symlinks or junctions.</p>
<p>You could possibly truncate the path by say creating a <a href="http://www.microsoft.com/technet/sysinternals/FileAndDisk/Junction.mspx" rel="nofollow">junction</a> from:</p>
<p>C:\reports\</p>
<p>to </p>
<p>C:\Documents and Settings\Johnathan Smith\Work Files\Reports 07\</p>
<p>Then each year you can just re-junction the reports folder to another one. Or you could skip My Documents and just keep your files on the root drive.  But again, not a perfect solution. <img src="http://www.terminally-incoherent.com/blog/wp-includes/images/smilies/icon_sad.gif" alt="(" class="wp-smiley" />
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Muhammad</title>
		<link>http://www.terminally-incoherent.com/blog/2008/01/13/long-path-madness/#comment-7711</link>
		<pubDate>Mon, 14 Jan 2008 03:23:47 +0000</pubDate>
		<guid>http://www.terminally-incoherent.com/blog/2008/01/13/long-path-madness/#comment-7711</guid>
					<description>Instead of running long paths in Windows, is it possible to truncate it using %SYSTEMROOT% or %APPDATA%? Or does it make no difference?</description>
		<content:encoded><![CDATA[<p>Instead of running long paths in Windows, is it possible to truncate it using %SYSTEMROOT% or %APPDATA%? Or does it make no difference?
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Luke Maciak</title>
		<link>http://www.terminally-incoherent.com/blog/2008/01/13/long-path-madness/#comment-7709</link>
		<pubDate>Sun, 13 Jan 2008 21:50:14 +0000</pubDate>
		<guid>http://www.terminally-incoherent.com/blog/2008/01/13/long-path-madness/#comment-7709</guid>
					<description>&lt;strong&gt;@Matt`&lt;/strong&gt; - depends on the file system but standard ones like ext2 and ext3 or Raiser-FS have &lt;a href="http://en.wikipedia.org/wiki/Comparison_of_file_systems#Limits" rel="nofollow"&gt;no path size limit defined&lt;/a&gt;. Neither does FAT32 and FAT16 - so this path restriction is purely artificial NTFS quirk.

&lt;strong&gt;@Zack&lt;/strong&gt; - that's what I thought I read somewhere but I wasn't sure. It's nice to know they are adopting saner practices. I guess they had to update the user directory structure with the new security model in place and all. And the fact they ripped it off Mac is not surprise - they have been doing this since the very begging.

If you run strings on certain applications (like ftp.exe) and parts of the TCP/IP stack &lt;a href="http://www.terminally-incoherent.com/blog/2004/06/25/108820958560677845/" rel="nofollow"&gt;you will see BSD copyright license notes&lt;/a&gt;. Granted - this is perfectly legal under BSD license but it does show you that Windows is basically amalgamation of  ideas and code that was developed elsewhere and then poorly ported to work with the rest of the OS. :)</description>
		<content:encoded><![CDATA[<p><strong>@Matt`</strong> - depends on the file system but standard ones like ext2 and ext3 or Raiser-FS have <a href="http://en.wikipedia.org/wiki/Comparison_of_file_systems#Limits" rel="nofollow">no path size limit defined</a>. Neither does FAT32 and FAT16 - so this path restriction is purely artificial NTFS quirk.</p>
<p><strong>@Zack</strong> - that&#8217;s what I thought I read somewhere but I wasn&#8217;t sure. It&#8217;s nice to know they are adopting saner practices. I guess they had to update the user directory structure with the new security model in place and all. And the fact they ripped it off Mac is not surprise - they have been doing this since the very begging.</p>
<p>If you run strings on certain applications (like <a href="http://ftp.exe" rel="nofollow">ftp.exe</a>) and parts of the TCP/IP stack <a href="http://www.terminally-incoherent.com/blog/2004/06/25/108820958560677845/" rel="nofollow">you will see BSD copyright license notes</a>. Granted - this is perfectly legal under BSD license but it does show you that Windows is basically amalgamation of  ideas and code that was developed elsewhere and then poorly ported to work with the rest of the OS. <img src="http://www.terminally-incoherent.com/blog/wp-includes/images/smilies/icon_smile.gif" alt=")" class="wp-smiley" />
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Zack Sloane</title>
		<link>http://www.terminally-incoherent.com/blog/2008/01/13/long-path-madness/#comment-7703</link>
		<pubDate>Sun, 13 Jan 2008 19:23:19 +0000</pubDate>
		<guid>http://www.terminally-incoherent.com/blog/2008/01/13/long-path-madness/#comment-7703</guid>
					<description>Yes, Vista does do it differently.  They use a slight different hierarchy.  It's setup as C:\Users\[Username]\Documents and C:\Users\[Username]\Pictures, etc etc. for all documents, music, pictures, favorites, desktop and whatnot.  I believe it is almost the exact same layout as OSx if I am not mistaken.  I remember commenting on it when I first got my Vista computer.   Noting all the things that MS "tried" to copy out of OSx</description>
		<content:encoded><![CDATA[<p>Yes, Vista does do it differently.  They use a slight different hierarchy.  It&#8217;s setup as C:\Users\[Username]\Documents and C:\Users\[Username]\Pictures, etc etc. for all documents, music, pictures, favorites, desktop and whatnot.  I believe it is almost the exact same layout as OSx if I am not mistaken.  I remember commenting on it when I first got my Vista computer.   Noting all the things that MS &#8220;tried&#8221; to copy out of OSx
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Matt`</title>
		<link>http://www.terminally-incoherent.com/blog/2008/01/13/long-path-madness/#comment-7699</link>
		<pubDate>Sun, 13 Jan 2008 18:19:49 +0000</pubDate>
		<guid>http://www.terminally-incoherent.com/blog/2008/01/13/long-path-madness/#comment-7699</guid>
					<description>Well that's silly...

Is there a limit on path lengths under Linux? The problem is lessened by the pared back default folder names (seems like every important folder is a 3 letter contraction) but the monster-length file path you came up with is only 9 characters short of 256 if you take out everything up to and including "My Documents".

Really should be handled automatically, so I'd be surprised if someone hasn't already written up some code for Linux to do so.</description>
		<content:encoded><![CDATA[<p>Well that&#8217;s silly&#8230;</p>
<p>Is there a limit on path lengths under Linux? The problem is lessened by the pared back default folder names (seems like every important folder is a 3 letter contraction) but the monster-length file path you came up with is only 9 characters short of 256 if you take out everything up to and including &#8220;My Documents&#8221;.</p>
<p>Really should be handled automatically, so I&#8217;d be surprised if someone hasn&#8217;t already written up some code for Linux to do so.
</p>
]]></content:encoded>
				</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 1.037 seconds -->
