Forums > Java

Problem with long file name

June 6, 2007 | 11:00 am


June 6, 2007 | 12:47 pm


June 6, 2007 | 1:22 pm

June 6, 2007 | 2:10 pm


June 6, 2007 | 3:00 pm

On 6 juin 07, at 15:22, Leopold Frey wrote:

> gives me result likes this when selecting a file on another drive :
>
> Disk1:/Volumes/Disk2/blabla

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?

ej


June 6, 2007 | 3:51 pm


June 7, 2007 | 9:54 am


June 7, 2007 | 6:05 pm

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!


June 7, 2007 | 6:51 pm

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
actually).

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 ;)

Leo


June 7, 2007 | 8:27 pm

I will check it out next time I am at a computer!


August 12, 2007 | 9:11 pm

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.


April 30, 2008 | 10:15 am


March 6, 2012 | 6:18 am

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.


March 29, 2012 | 7:15 am

After days of searching I finally found solution for unlocking, managing and renaming long named files. Get your problem solved from http://longpathtool.com/


Viewing 14 posts - 1 through 14 (of 14 total)