Page 1 of 1
long file name problem
Posted: 11 Jul 2011 12:35
by lanamelach
I can't play a file that has a long file name (exceeding MAX_PATH), more specifically it is located deeply in directory tree. Is there any solution for that? As a workaround I tried to set current directory descending by sub-directories (each has less than MAX_PATH characters), but it didn't help.
Re: long file name problem
Posted: 11 Jul 2011 17:55
by devildrey33
If you are using windows, try GetShortPathName API
Re: long file name problem
Posted: 11 Jul 2011 18:43
by RĂ©mi Denis-Courmont
Yeah this is a limitation/bug in VLC 1.1. If you are not on Windows, it should be fixed in VLC 1.2. Not sure about Windows.
Re: long file name problem
Posted: 12 Jul 2011 08:28
by lanamelach
Yes, I tried it on windows, but perhaps other platforms have similar problem. Thanks, GetShortPathName helped.