text: windows 7 - How to unzip zip archives that have more than 260 symbols in their name? - Super User
  I have a big zip file (approximately 650 MB) that I want to unzip. I already shortened the name of the zip file to just 1 letter and stored it directly on the C: folder. So I can´t shorten the path anymore. However I get thousands of error saying that the path is longer than 260 letters. What can I do?
  Is this a limitation of Windows? I.e. can I unzip it with MacOS?
  windows-7 macos path zip
  asked Oct 12 '11 at 19:16
  1,41588 gold badges2121 silver badges3333 bronze badges
  Open it with whatever tool you use to extract (winzip, 7zip) and check the contents. It may, for whatever reason, have stupidly long directory structures. – Rob Oct 12 '11 at 19:22
  Yes it has long content ;) But i need this structure. – RoflcoptrException Oct 12 '11 at 19:25
  If the extracted structure is longer than 260 characters, there isn't much you can do. – Rob Oct 12 '11 at 19:26
  Hmm it is the Jazz Team Server source code. There must be a way to use this? – RoflcoptrException Oct 12 '11 at 19:27
  Alternatively, try using 7zip to pack (and unpack) your path-length sensitive files. I've used it to transport several IDE installations (those Eclipse plugin paths, yikes!) and piles of autogenerated documentation and haven't had a single problem so far.
  Not really sure how it evades the 260 char limitation set by Windows (from a technical PoV), but hey, it works!
  More details on their SourceForge page here:
  "NTFS can actually support pathnames up to 32,000 characters in length."
  But it's disabled in SFX code. Some users don't like long paths, since they don't understand how to work with them. That is why I have disabled it in SFX code.
  Create a copy of the archive.
  Browse the archive until you have located the subfolder which contains the items which are causing problems. Delete that set of files/folders from the archive.
  Extract the archive using the method you have started to use, putting it in your C: folder.
  Open the other copy of the archive and extract the subfolder which has the items which are causing problems, extracting it into C:.
  But what if I have to maintain the structure? – RoflcoptrException Oct 12 '11 at 19:46
  Move the files to their proper location afterwards. If that doesn't work then the folder structure will not work on Windows 7 at all and you are going to be unable to use it. – Shane Wealti Oct 12 '11 at 19:53
  You could also find an OS with a filesystem that supports longer paths and extract it there. – Shane Wealti Oct 12 '11 at 19:54
  Thanks. Do you know if Lion (OSX) supports that? – RoflcoptrException Oct 12 '11 at 19:55
  Most linux filesystems support a max path length of at least 4096 characters so you could try that. – Shane Wealti Oct 12 '11 at 19:56
  Change value from 0 to 1 for LongPathsEnabled under Computer > HKEY_LOCAL_MACHINE > SYSTEM > CurrentControlSet > Control > FileSystem.
  answered Sep 19 '19 at 7:38
  vin_varvin_var
  Use 7zip. It is also WAAAAY faster. Extracting magento 1 took about 15 minutes with windows and about 30-45 seconds with 7zip and no errors were thrown.
  Not the answer you're looking for? Browse other questions tagged windows-7 macos path zip or ask your own question.