WinRAR “Total path and file name length must not exceed 260 characters” [closed]

StackOverflow https://stackoverflow.com/questions/13178377

  •  25-07-2021
  •  | 
  •  

Pergunta

WinRAR is giving me the 260 character limit error on a path/filename that is only 216 characters long. See below. The reason is the extraction destination is a temporary folder that is tool long. See https://superuser.com/questions/154969/where-winrar-extracts-files for details on this folder.

!   C:\<path>\<filename.rar>: Cannot create <filename>
Total path and file name length must not exceed 260 characters

How do I modify this?

Foi útil?

Solução

You can change Winrar's default temp directory from Winrar's Options > Settings > Paths tab. Thanks to https://superuser.com/questions/154969/where-winrar-extracts-files for the solution.

For the shortest path possible, set it to c:/ or some other driver's root. Pay attention to the temporary folders it will create (and not delete) that starts with "RAR..." or "Rar...". You can delete this once WinRAR is done.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top