A few weeks ago, I was forwarded a tech support email from a Windows XP user who couldn't unzip a few of our albums.
After way too much research, I found that Windows XP and Windows 7 both have problems (in different ways) with long filename paths. Not the file's length, mind you, but the total name of the entire path to get to a file, i.e.:
C:\Documents and Settings\Administrator\Desktop\Artistname\Albumname\MP3name.mp3
Specifically, there is a concept in Windows of the MAX_PATH variable, which is 260 characters, and which causes problems in different places.
- In Windows XP, you can't drag-and-drop files from a zip file to your desktop if the total filename length is over 260 characters. No problem unzipping though, if you right-click and choose "extract" or use winzip or 7zip. Just drag-and-drop doesn't work.
- In Windows 7, if you drop long filenames onto the recycle bin, you'll be told you can't because they're too long, and do you want to skip those files or cancel the drag-and-drop.
So... a new test at Magnatune now identifies if the total likely size of an unzipped file will be over 240 characters (I'm building 20 characters of safety margin in).
The two most common places to drop audio files is:
Your desktop:
C:\Documents and Settings\Administrator\Desktop
Your iTunes music directory:
c:\Users\Administrator\Music\iTunes\iTunes Media
Since the iTunes music directory is the longer name of the two, I'm adding up the total filename length of:
iTunes Directory \ + Artist name \ + Album name \ + MP3 name = total
and making sure that never goes over 240 characters.
There were about a dozen albums at Magnatune that had files that went over this limit. I've gone ahead and "fixed" those.
So... if you ever had trouble drag and dropping files out of a ZIP file on Windows, hopefully now you won't!
-john