Open folders with non-ASCII-characters ??
Hey all,
Max throws an error (-43) when attempting to open folders or files with non-ASCII-characters in the filename. For a big database which has to support foldernames containing any kind of character I am in need for a method that supports this. Has anyone got a good idea on how to bypass this limitation? If someone is inclined to sugest node.script I would be happy if they shared the according code since I am not familiar with its syntax. JS would be fine but I believe it would only work via the native Max class, which throws the same error, of course.

here's the example patch with non-ASCII folders:
Any help would be greatly appreciated!
Thanks.
On Mac this should work.
You just need to download shell external.

Yes, v cool, thanks!
Hadn't thought of shell.
This seems to work reliably with the above examples.
I understand that this is not compatible with windows, however?
Best, Tim
No, it means only that I used it on Mac.
Do you want me to check on windows ?
I use only win 10, not 11...
by the way it is not only dealing with chars, also openning folders is different on windows.
Oh yes please, that would be very valuable indeed.
Thank you for the offer; if you find a simple solution that works, it would be great if you could share it here so I can implement it for windows too. Do you happen to know by any chance whether Jasch's filesystem operations package is meanwhile available for windows? or something similar? I use it a lot, also because it provides binary feedback on operation success, unlike shell.
Thanks!
Problem on windows is that if one opens a folder using explorer commands
every time new instance will get opened.
Powershell can do that better , but will have problems wit encoding your chars.
Anyway, I can provide only windows 10 tested patch, and even that might produce unwanted result,
depending on explorer settings.
Basically idea is to send close message to explorer, before openning a window.
In that case allready openned window would get closed before openning it again.
P.S:
here is another script using powershell,
you need to take care when zipping mac folders for windows.
hidden resources will get included ...


I use compression tools that can exclude mac resources, like keka etc
Appreciated, thank you!
I will get round to checking this on a windows machine once I have the chance.
Tim
PS: Thanks for the zipping-hint as well ;)