File path too long?
#1
I just installed 10.0 "Dharma" on a machine running Windows 7 Ultimate x64, and it's been working rather well, except for one irritating hiccough. I noticed that there were a few files that it couldn't play, and after a little fiddling around, realized it had to do with the path length. If I had to bet, it can't deal with paths longer than 255 characters. The files themselves don't have long names, but they are nested quite deep, and merely copying them closer to the root directory renders them playable.

The obvious fix is to shorten the path or move the files, however, I'd really rather not do that. It shouldn't be necessary, and other programs have been able to access the files just fine.

Is there an option or a fix that I'm unaware of? Thanks in advance.
#2
Anaxtheos Wrote:If I had to bet, it can't deal with paths longer than 255 characters.

Quite correct, though strictly speaking the limitation is in the Win32 subsystem as the Windows kernel can handle file names up to 2^16-1 characters long.

There are various workarounds. You can create links from a top level directory to directories several levels lower. This reduces the file name length. Alternatively you can share folders and connect to them as if you were connecting to a server. Again this can result in a UNC names that's shorter than the file name.

JR
#3
Thank you for the prompt reply. While I haven't tried the networking method, the linking method worked like a charm and even solves a couple other problems I've been having with other programs. Thanks.

- Anaxtheos
#4

Long Path Tool helped me in this situation. http://PathTooDeep.com Smile
#5
This is a Windows* OS/file system issue.If your folder destination path is too long(more than 255 characters in Windows),you can come across a long path error.You can fix it with additional softwares like Long Path Tool.
http://PathTooDeep.com
I hope that it will help you!
Good luck!
Cheers!
#6
Welcome to the XBMC forums.

(2012-11-14, 00:35)GabrielNar Wrote: This is a Windows* OS/file system issue.If your folder destination path is too long(more than 255 characters in Windows),you can come across a long path error.You can fix it with additional softwares like Long Path Tool.
http://PathTooDeep.com
I hope that it will help you!
Good luck!
Cheers!
That's exactly what Arnoldcav suggested in the post just before yours. Wink
#7
I suggest that you check out Long Path Tool. It is a great tool for you to solve your problem. You should try it!!
#8
(2013-01-24, 16:38)juliabrin Wrote: I suggest that you check out Long Path Tool. It is a great tool for you to solve your problem. You should try it!!

Already suggested in posts #4 and #5. Are all you guys working for the company, given that it's the first and only post for all of you?


Logout Mark Read Team Forum Stats Members Help
File path too long?0