<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
     xmlns:admin="http://webns.net/mvcb/"
     xmlns:content="http://purl.org/rss/1.0/modules/content/"
     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
	<channel> 

	<title>Comments on: How to deal with file names that are too long</title>
	<link>http://ask.metafilter.com/31958/How-to-deal-with-file-names-that-are-too-long/</link>
	<description>Comments on Ask MetaFilter post How to deal with file names that are too long</description>
	<pubDate>Thu, 02 Feb 2006 09:49:33 -0800</pubDate>
	<lastBuildDate>Thu, 02 Feb 2006 09:49:33 -0800</lastBuildDate>
	<language>en-us</language>
	<docs>http://blogs.law.harvard.edu/tech/rss</docs>
	<ttl>60</ttl>

	<item>
		<title>Question: How to deal with file names that are too long</title>
		<link>http://ask.metafilter.com/31958/How-to-deal-with-file-names-that-are-too-long</link>	
		<description>Windows XP annoyance: I&apos;ve managed to create some files with names that are too long. How can I rename them?  &lt;br /&gt;&lt;br /&gt; I can&apos;t open them, and I can&apos;t find a way to copy, move, or burn them. Usual methods of renaming files don&apos;t work (F2, right-click menu, Properties, Windows Explorer, etc.) I&apos;ve tried shortening the path by renaming folders, but that didn&apos;t do it either. These are mp3 files, by the way.</description>
		<guid isPermaLink="false">post:ask.metafilter.com,2006:site.31958</guid>
		<pubDate>Thu, 02 Feb 2006 09:44:50 -0800</pubDate>
		<dc:creator>hydrophonic</dc:creator>
		
			<category>Windows</category>
		
			<category>file</category>
		
			<category>name</category>
		
			<category>filename</category>
		
			<category>long</category>
		
	</item> <item>
		<title>By: JigSawMan</title>
		<link>http://ask.metafilter.com/31958/How-to-deal-with-file-names-that-are-too-long#500381</link>	
		<description>The two methods the drop into my mind both require using the command line interface and going old school on the problem.  Are you comfortable using DOS commands?</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.31958-500381</guid>
		<pubDate>Thu, 02 Feb 2006 09:49:33 -0800</pubDate>
		<dc:creator>JigSawMan</dc:creator>
	</item><item>
		<title>By: hydrophonic</title>
		<link>http://ask.metafilter.com/31958/How-to-deal-with-file-names-that-are-too-long#500386</link>	
		<description>Yes, I think, but it&apos;s been a while.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.31958-500386</guid>
		<pubDate>Thu, 02 Feb 2006 09:54:09 -0800</pubDate>
		<dc:creator>hydrophonic</dc:creator>
	</item><item>
		<title>By: DrJohnEvans</title>
		<link>http://ask.metafilter.com/31958/How-to-deal-with-file-names-that-are-too-long#500390</link>	
		<description>You should be able to do it DOSways, using the eight-character variant from the command line.  The eight-character version is the first six characters, plus a tilde, plus a counting number, plus the extension.&lt;br&gt;
&lt;br&gt;
An example:  if you have two files called:&lt;br&gt;
&lt;br&gt;
&lt;code&gt;Thisisareallyreallyreallyreallyreallylongfilename.txt&lt;br&gt;
Thisisanotherreallyreallyreallylongfilename.txt&lt;/code&gt;&lt;br&gt;
&lt;br&gt;
Then the eight-character versions of the files would be&lt;br&gt;
&lt;br&gt;
&lt;code&gt;THISIS~1.TXT&lt;br&gt;
THISIS~2.TXT&lt;/code&gt;&lt;br&gt;
&lt;br&gt;
respectively.&lt;br&gt;
&lt;br&gt;
So, from the command prompt, you can type:&lt;br&gt;
&lt;br&gt;
&lt;code&gt;C:\Music\LongFiles\&amp;gt;&lt;b&gt;del THISIS~1.TXT&lt;/b&gt;&lt;/code&gt;&lt;br&gt;
&lt;br&gt;
and the file will be deleted.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.31958-500390</guid>
		<pubDate>Thu, 02 Feb 2006 09:55:18 -0800</pubDate>
		<dc:creator>DrJohnEvans</dc:creator>
	</item><item>
		<title>By: DrJohnEvans</title>
		<link>http://ask.metafilter.com/31958/How-to-deal-with-file-names-that-are-too-long#500400</link>	
		<description>Oops, you want to rename them, not delete them.  So:&lt;br&gt;
&lt;br&gt;
&lt;code&gt;C:\Whatever\Directory&amp;gt;&lt;b&gt;rename THISIS~1.mp3 MyShortName.mp3&lt;/b&gt;&lt;/code&gt;&lt;br&gt;
&lt;br&gt;
Also, changing directories in XP DOS with long filenames can be annoying.  The Command Prompt will probably dump you in your user directory, so you&apos;ll be prompted with&lt;br&gt;
&lt;br&gt;
&lt;code&gt;C:\Documents and Settings\YourUserName&amp;gt;&lt;/code&gt;&lt;br&gt;
&lt;br&gt;
To get into the &quot;My Documents&quot; directory, you can use the [Tab] key to autocomplete.  Type &lt;code&gt;&lt;b&gt;cd My&lt;/b&gt;&lt;/code&gt;, hit the [Tab] key, and the command will AutoComplete to&lt;br&gt;
&lt;br&gt;
&lt;code&gt;C:\Documents and Settings\YourUserName&amp;gt;&lt;b&gt;cd &quot;My Documents&quot;&lt;/b&gt;&lt;/code&gt;&lt;br&gt;
&lt;br&gt;
Apologies if I&apos;m going over something you already know.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.31958-500400</guid>
		<pubDate>Thu, 02 Feb 2006 10:02:38 -0800</pubDate>
		<dc:creator>DrJohnEvans</dc:creator>
	</item><item>
		<title>By: JigSawMan</title>
		<link>http://ask.metafilter.com/31958/How-to-deal-with-file-names-that-are-too-long#500412</link>	
		<description>That is what I was going to type.  I was also going to say that the wildcard * character will work in the rename command.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.31958-500412</guid>
		<pubDate>Thu, 02 Feb 2006 10:14:35 -0800</pubDate>
		<dc:creator>JigSawMan</dc:creator>
	</item><item>
		<title>By: hydrophonic</title>
		<link>http://ask.metafilter.com/31958/How-to-deal-with-file-names-that-are-too-long#500445</link>	
		<description>&lt;strong&gt;rename &lt;/strong&gt;doesn&apos;t seem to like filenames with spaces, even with my eight-character version (which still has a space). I get &quot;The syntax of the command is incorrect.&quot; I can rename test files without spaces in the name.  Using the wildcard * crashes the command prompt.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.31958-500445</guid>
		<pubDate>Thu, 02 Feb 2006 10:38:32 -0800</pubDate>
		<dc:creator>hydrophonic</dc:creator>
	</item><item>
		<title>By: tweak</title>
		<link>http://ask.metafilter.com/31958/How-to-deal-with-file-names-that-are-too-long#500467</link>	
		<description>DrJohnEvans advice gets you almost all the way there, but you also need to encapsulate any Windows filename with spaces in double quotes for DOS to handle it:&lt;br&gt;
&lt;br&gt;
example:&lt;br&gt;
&lt;code&gt;&lt;br&gt;
rename &quot;long filenames suck.txt&quot; long_filenames.txt&lt;br&gt;
&lt;/code&gt;&lt;br&gt;
&lt;br&gt;
That should do it!</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.31958-500467</guid>
		<pubDate>Thu, 02 Feb 2006 10:52:24 -0800</pubDate>
		<dc:creator>tweak</dc:creator>
	</item><item>
		<title>By: hydrophonic</title>
		<link>http://ask.metafilter.com/31958/How-to-deal-with-file-names-that-are-too-long#500498</link>	
		<description>Argh! &quot;The filename or extension is too long.&quot;</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.31958-500498</guid>
		<pubDate>Thu, 02 Feb 2006 11:09:34 -0800</pubDate>
		<dc:creator>hydrophonic</dc:creator>
	</item><item>
		<title>By: hydrophonic</title>
		<link>http://ask.metafilter.com/31958/How-to-deal-with-file-names-that-are-too-long#500507</link>	
		<description>Oh, and quotes don&apos;t work with eight-character versions that have spaces. Any way to fix that?</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.31958-500507</guid>
		<pubDate>Thu, 02 Feb 2006 11:10:58 -0800</pubDate>
		<dc:creator>hydrophonic</dc:creator>
	</item><item>
		<title>By: tweak</title>
		<link>http://ask.metafilter.com/31958/How-to-deal-with-file-names-that-are-too-long#500514</link>	
		<description>can you copy and paste what you are trying to do, along with error messages, into the thread?&lt;br&gt;
&lt;br&gt;
Just right-click the DOS prompt and select copy.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.31958-500514</guid>
		<pubDate>Thu, 02 Feb 2006 11:18:47 -0800</pubDate>
		<dc:creator>tweak</dc:creator>
	</item><item>
		<title>By: SteveInMaine</title>
		<link>http://ask.metafilter.com/31958/How-to-deal-with-file-names-that-are-too-long#500516</link>	
		<description>Have you tried a third-party renamer? I user &lt;a href=&quot;http://www.mediachance.com/free/renamer.htm&quot;&gt;Oscar&apos;s Renamer&lt;/a&gt; for mass file renames. I can&apos;t vouch for its&apos; ability to fix too-long filenames, but it&apos;s worth a shot.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.31958-500516</guid>
		<pubDate>Thu, 02 Feb 2006 11:19:10 -0800</pubDate>
		<dc:creator>SteveInMaine</dc:creator>
	</item><item>
		<title>By: tweak</title>
		<link>http://ask.metafilter.com/31958/How-to-deal-with-file-names-that-are-too-long#500517</link>	
		<description>and ballpark, how long, exactly, are these filenames?</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.31958-500517</guid>
		<pubDate>Thu, 02 Feb 2006 11:19:10 -0800</pubDate>
		<dc:creator>tweak</dc:creator>
	</item><item>
		<title>By: teece</title>
		<link>http://ask.metafilter.com/31958/How-to-deal-with-file-names-that-are-too-long#500518</link>	
		<description>How did you create them without an error?  That seems like a major OS bug, allowing you to create a file you can&apos;t use.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.31958-500518</guid>
		<pubDate>Thu, 02 Feb 2006 11:19:18 -0800</pubDate>
		<dc:creator>teece</dc:creator>
	</item><item>
		<title>By: DrJohnEvans</title>
		<link>http://ask.metafilter.com/31958/How-to-deal-with-file-names-that-are-too-long#500532</link>	
		<description>&lt;i&gt;Oh, and quotes don&apos;t work with eight-character versions that have spaces. Any way to fix that?&lt;/i&gt;&lt;br&gt;
&lt;br&gt;
Eight-character filenames aren&apos;t designed to have spaces, so if you have a space within the first six characters of your long filename, just remove it.&lt;br&gt;
&lt;br&gt;
So the directory &lt;code&gt;&quot;My Documents&quot;&lt;/code&gt; becomes &lt;code&gt;MYDOCU~1&lt;/code&gt;.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.31958-500532</guid>
		<pubDate>Thu, 02 Feb 2006 11:37:50 -0800</pubDate>
		<dc:creator>DrJohnEvans</dc:creator>
	</item><item>
		<title>By: tweak</title>
		<link>http://ask.metafilter.com/31958/How-to-deal-with-file-names-that-are-too-long#500536</link>	
		<description>&lt;em&gt;That seems like a major OS bug, allowing you to create a file you can&apos;t use.&lt;/em&gt;&lt;br&gt;
&lt;br&gt;
Indeed. The mind boggles.&lt;br&gt;
&lt;br&gt;
hydrophonic, if Steve&apos;s program doesn&apos;t work, according to this &lt;a href=&quot;http://groups.google.com/group/microsoft.public.win98.gen_discussion/browse_thread/thread/e4709adc2b81a290/fd438441e4175254&quot;&gt;discussion&lt;/a&gt; (if it&apos;s true), &lt;a href=&quot;http://www.freshdevices.com/freshui.html&quot;&gt;FreshUI&lt;/a&gt; should add contextual right click options that will let you move or copy the file without the &apos;long filename error.&apos;&lt;br&gt;
&lt;br&gt;
Might be worth a shot.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.31958-500536</guid>
		<pubDate>Thu, 02 Feb 2006 11:39:05 -0800</pubDate>
		<dc:creator>tweak</dc:creator>
	</item><item>
		<title>By: insomnus</title>
		<link>http://ask.metafilter.com/31958/How-to-deal-with-file-names-that-are-too-long#500537</link>	
		<description>The short filenames never have spaces. Use dir /X to find out what the short filenames are, then do what DrJohnEvans said.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.31958-500537</guid>
		<pubDate>Thu, 02 Feb 2006 11:39:10 -0800</pubDate>
		<dc:creator>insomnus</dc:creator>
	</item><item>
		<title>By: hydrophonic</title>
		<link>http://ask.metafilter.com/31958/How-to-deal-with-file-names-that-are-too-long#500564</link>	
		<description>&lt;em&gt;can you copy and paste what you are trying to do, along with error messages, into the thread?&lt;/em&gt;&lt;br&gt;
&lt;br&gt;
Ok, here&apos;s the closest I&apos;ve gotten, edited for the relevant bits, error messages in bold:&lt;br&gt;
&lt;br&gt;
&lt;small&gt;&lt;br&gt;
C:\My Music (to sort)\111 needs some work\VA - Hum Kisise Kum Naheen&amp;gt;dir&lt;br&gt;
&lt;br&gt;
 Directory of C:\My Music (to sort)\111 needs some work\VA - Hum Kisise Kum Nahe&lt;br&gt;
en&lt;br&gt;
&lt;br&gt;
05/14/2004  08:04 PM        10,171,959 Hum Kisise Kum Naheen - 05 - Mohd. Radi &amp;amp;&lt;br&gt;
 Chorus-Kishore Kumar &amp;amp; Chorus-R.D. Burman-Asha Bhosle, Kishore Kumar &amp;amp; Chorus -&lt;br&gt;
 Chand Mera Dil-Ah Dil Kya Mahfil Hai-Tum Kya Jaano-Mil Gaya Ham Ko Saathi.mp3&lt;br&gt;
               1 File(s)     10,171,959 bytes&lt;br&gt;
               2 Dir(s)  14,356,246,528 bytes free&lt;br&gt;
&lt;br&gt;
C:\My Music (to sort)\111 needs some work\VA - Hum Kisise Kum Naheen&amp;gt;rename &quot;Hum&lt;br&gt;
 Kisise Kum Naheen - 05 - Mohd. Radi &amp;amp; Chorus-Kishore Kumar &amp;amp; Chorus-R.D. Burman&lt;br&gt;
-Asha Bhosle, Kishore Kumar &amp;amp; Chorus - Chand Mera Dil-Ah Dil Kya Mahfil Hai-Tum&lt;br&gt;
Kya Jaano-Mil Gaya Ham Ko Saathi.mp3&quot; shorter.mp3&lt;br&gt;
&lt;strong&gt;The filename or extension is too long.&lt;/strong&gt;&lt;br&gt;
&lt;br&gt;
C:\My Music (to sort)\111 needs some work\VA - Hum Kisise Kum Naheen&amp;gt;dir /X&lt;br&gt;
&lt;br&gt;
 Directory of C:\My Music (to sort)\111 needs some work\VA - Hum Kisise Kum Nahe&lt;br&gt;
en&lt;br&gt;
&lt;br&gt;
05/14/2004  08:04 PM        10,171,959 HUMKIS~3.MP3 Hum Kisise Kum Naheen - 05 -&lt;br&gt;
 Mohd. Radi &amp;amp; Chorus-Kishore Kumar &amp;amp; Chorus-R.D. Burman-Asha Bhosle, Kishore Kum&lt;br&gt;
ar &amp;amp; Chorus - Chand Mera Dil-Ah Dil Kya Mahfil Hai-Tum Kya Jaano-Mil Gaya Ham Ko&lt;br&gt;
 Saathi.mp3&lt;br&gt;
               1 File(s)     10,171,959 bytes&lt;br&gt;
               2 Dir(s)  14,299,869,184 bytes free&lt;br&gt;
&lt;br&gt;
C:\My Music (to sort)\111 needs some work\VA - Hum Kisise Kum Naheen&amp;gt;rename HUMKIS~3.MP3 shorter.mp3&lt;br&gt;
&lt;strong&gt;The system cannot find the path specified.&lt;/strong&gt;&lt;br&gt;
&lt;br&gt;
&lt;/small&gt;&lt;br&gt;
&lt;br&gt;
&lt;em&gt;Have you tried a third-party renamer?&lt;/em&gt;&lt;br&gt;
&lt;br&gt;
I tried Rename-It. I&apos;ll try Oscar&apos;s and FreshUI as soon as I get a chance.&lt;br&gt;
&lt;br&gt;
&lt;em&gt;and ballpark, how long, exactly, are these filenames?&lt;/em&gt;&lt;br&gt;
&lt;br&gt;
I counted 199 characters.&lt;br&gt;
&lt;em&gt;&lt;br&gt;
How did you create them without an error?&lt;/em&gt;&lt;br&gt;
&lt;br&gt;
Ripped from CD with Windows Media Player or something like it. Automatically named the file from the ID3 tags. &lt;br&gt;
&lt;br&gt;
Thanks for everyone&apos;s input!&lt;br&gt;
I&apos;m off to work soon, and I might not get a chance to try again until the weekend. I&apos;ll post any progress. It&apos;s academic at this point since I could just go out and buy the CD again. But it irks me so!</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.31958-500564</guid>
		<pubDate>Thu, 02 Feb 2006 12:01:47 -0800</pubDate>
		<dc:creator>hydrophonic</dc:creator>
	</item><item>
		<title>By: helios</title>
		<link>http://ask.metafilter.com/31958/How-to-deal-with-file-names-that-are-too-long#500577</link>	
		<description>I&apos;d try renaming the folder &quot;111 needs some work&quot; to &quot;1&quot;, then renaming &quot;My Music&quot; to &quot;m&quot;  and then trying to rename them.   Right now,&lt;br&gt;
&lt;br&gt;
 &quot;C:\My Music (to sort)\111 needs some work\VA - Hum Kisise Kum Naheen\Hum Kisise Kum Naheen - 05 - Mohd. Radi &amp;amp; Chorus-Kishore Kumar &amp;amp; Chorus-R.D. Burman -Asha Bhosle, Kishore Kumar &amp;amp; Chorus - Chand Mera Dil-Ah Dil Kya Mahfil Hai-Tum Kya Jaano-Mil Gaya Ham Ko Saathi.mp3&quot;  &lt;br&gt;
&lt;br&gt;
is 269 characters, which is greater than the maximum path length of 255.    Renaming the folders brings it to 235 characters.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.31958-500577</guid>
		<pubDate>Thu, 02 Feb 2006 12:17:27 -0800</pubDate>
		<dc:creator>helios</dc:creator>
	</item><item>
		<title>By: helios</title>
		<link>http://ask.metafilter.com/31958/How-to-deal-with-file-names-that-are-too-long#500582</link>	
		<description>And I know you said that you tried to rename the folders,  but this really seems like the first step in resolving the problem (maybe combining it with the short name solution).  Perhaps you tried it with a different file that had a longer filename..</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.31958-500582</guid>
		<pubDate>Thu, 02 Feb 2006 12:19:23 -0800</pubDate>
		<dc:creator>helios</dc:creator>
	</item><item>
		<title>By: Lanark</title>
		<link>http://ask.metafilter.com/31958/How-to-deal-with-file-names-that-are-too-long#500587</link>	
		<description>This KB article lists 5 ways to solve the problem, it assumes you want to delete the file but the same things work for making a copy&lt;br&gt;
&lt;a href=&quot;http://support.microsoft.com/?kbid=320081&quot;&gt;http://support.microsoft.com/?kbid=320081&lt;/a&gt;</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.31958-500587</guid>
		<pubDate>Thu, 02 Feb 2006 12:25:31 -0800</pubDate>
		<dc:creator>Lanark</dc:creator>
	</item><item>
		<title>By: hydrophonic</title>
		<link>http://ask.metafilter.com/31958/How-to-deal-with-file-names-that-are-too-long#500600</link>	
		<description>It worked!&lt;br&gt;
&lt;br&gt;
Shortening the path then working in the command line interface did the trick. Unless I just didn&apos;t shorten the path enough the first time around. &lt;br&gt;
&lt;br&gt;
Anyway, here&apos;s the result:&lt;br&gt;
&lt;small&gt;&lt;br&gt;
C:\M\1\Hum&amp;gt;dir /x&lt;br&gt;
&lt;br&gt;
 Directory of C:\M\1\Hum&lt;br&gt;
&lt;br&gt;
05/14/2004  08:04 PM        10,171,959 HUMKIS~3.MP3 Hum Kisise Kum Naheen - 05 -&lt;br&gt;
 Mohd. Radi &amp;amp; Chorus-Kishore Kumar &amp;amp; Chorus-R.D. Burman-Asha Bhosle, Kishore Kum&lt;br&gt;
ar &amp;amp; Chorus - Chand Mera Dil-Ah Dil Kya Mahfil Hai-Tum Kya Jaano-Mil Gaya Ham Ko&lt;br&gt;
 Saathi.mp3&lt;br&gt;
&lt;br&gt;
C:\M\1\Hum&amp;gt;rename humkis~3.mp3 shorter.mp3&lt;br&gt;
&lt;br&gt;
C:\M\1\Hum&amp;gt;dir&lt;br&gt;
&lt;br&gt;
 Directory of C:\M\1\Hum&lt;br&gt;
&lt;br&gt;
05/14/2004  08:04 PM        10,171,959 shorter.mp3&lt;br&gt;
&lt;/small&gt;</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.31958-500600</guid>
		<pubDate>Thu, 02 Feb 2006 12:35:18 -0800</pubDate>
		<dc:creator>hydrophonic</dc:creator>
	</item><item>
		<title>By: Rhomboid</title>
		<link>http://ask.metafilter.com/31958/How-to-deal-with-file-names-that-are-too-long#500810</link>	
		<description>In windows there are generally two versions of a great number of API functions - an ANSI version and a UNICODE version.  In the case of the filesystem, if you use the ANSI version you are limited to PATH_MAX (260) characters, but if you use the UNICODE version of the API you can create filenames up to 32k characters in length.  Thus it is entirely possible to create a file using a UNICODE program that is too long to delete using older programs that use the ANSI API.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.31958-500810</guid>
		<pubDate>Thu, 02 Feb 2006 15:19:33 -0800</pubDate>
		<dc:creator>Rhomboid</dc:creator>
	</item><item>
		<title>By: flabdablet</title>
		<link>http://ask.metafilter.com/31958/How-to-deal-with-file-names-that-are-too-long#500813</link>	
		<description>I run into this issue fairly often, as I work at primary schools and regularly see files with bizarre names (the default names generated by Word can easily run a couple hundred characters, if the document launches straight into body text).&lt;br&gt;
&lt;code&gt;&lt;br&gt;
a-very-long-(over-200-characters-here)-name.doc&lt;br&gt;
&lt;/code&gt;&lt;br&gt;
can easily be created in a user&apos;s home folder, because that&apos;s mapped to N: drive on their local workstation; as far as the workstation is concerned the full pathname is&lt;br&gt;
&lt;code&gt;&lt;br&gt;
N:\a-very-long-(over-200-characters-here)-name.doc&lt;br&gt;
&lt;/code&gt;&lt;br&gt;
which squeaks in under the 255-byte restriction.  But if I try to work with that file on the server, doing something like&lt;br&gt;
&lt;code&gt;&lt;br&gt;
E:&lt;br&gt;
cd \data\home\students\until-end-2012\username&lt;br&gt;
rename &quot;a-very-long-(over-200-characters-here)-name.doc&quot; shortname.doc&lt;br&gt;
&lt;/code&gt;&lt;br&gt;
I get errors because the resulting full pathname is too long.&lt;br&gt;
&lt;br&gt;
My standard fix is to map a temporary drive letter to the directory I&apos;m working with:&lt;br&gt;
&lt;code&gt;&lt;br&gt;
subst T: .&lt;br&gt;
T:&lt;br&gt;
rename &quot;a-very-long-(over-200-characters-here)-name.doc&quot; shortname.doc&lt;br&gt;
E:&lt;br&gt;
subst T: /d&lt;br&gt;
&lt;/code&gt;</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.31958-500813</guid>
		<pubDate>Thu, 02 Feb 2006 15:20:55 -0800</pubDate>
		<dc:creator>flabdablet</dc:creator>
	</item>
	</channel>
</rss>
