Problem with long file name
On 6 juin 07, at 15:22, Leopold Frey wrote:
> gives me result likes this when selecting a file on another drive :
Yep, I can confirm that… strange.
> ConformPath doesn’t help neither with my long file name problem.
> Thanks for your time & help
The following does work for me with long sound files names even on
other hard disks. Can you confirm that?
Hey Leopold. I am emailing from my phone.I haven’t gotten to check out
your patch.I would see if the same nameconform bug exhibits itself with
the nameconform max external.conformpath or whatever it is called.if it
does than it is a problem in the kernel.as far as getting a numeric file
handle it is not going to happen anytime soon if ever. That is part of
max that we chose not to expose to java given that java programmers are
able to work with unix style paths.finally it should be trivial to roll
your own nativePathToMaxPath function. The one that goes the other way
in MaxSystem is hand rolled itself.Hope that helps!
Hey Topher thanks for the answer.
1. There’s no emergency. Answer when you have time to do it. I’m sorry
if this point wasn’t clear…
2. concerning the [conformpath] & MaxSystem.nameConform() : the bug does
not appear with [conformpath].
3. concerning the suggestion of a nativePathToMaxPath function,
I’ll wait for you to check my patch (lots of explanations where in it
Steps to reproduce :
* create a sound file that has more than 32 characters (I already know
the workaround thanks ;) )
* open your preferred max-style filebrowser : yours
* browse to the right path and select the sound file you’ve just created
and try to open it in sfplay~ or buffer~
* phone me back ;)
I will check it out next time I am at a computer!
Was there ever a solution to this problem? I cannot get long file names to convert properly to the version with the hex codes in them. Because of this, so far, my java file browser is useless since most of the files I am accessing have long names.
I tried moth the Java method and the max patcher method [conformpath] and both of them leave the file in it’s long name.
I have been suffering from accessing, managing and even renaming files that have more than 255 characters over a long time. I have tried various ways but failed. Then I have searched this problem in internet. Then I have found a solution. This software is very easy to use. Named Long path Tool. To use the program all you need to do is to download this program online and save all the settings to your computer. This program is compatible with Windows NT, 2000, XP, Vista and Windows 7. you can find it from longpathtool(dot)com.