Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

winrar

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?

like image 255
Xonatron Avatar asked Nov 01 '12 13:11

Xonatron


1 Answers

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.

like image 98
Xonatron Avatar answered Nov 02 '22 21:11

Xonatron