list folder in 10.3.9

I have not seen this mentioned elsewhere, so I thought I’d bring it up. When using the “list folder” command in an XCode AS app, long filenames (greater than 31) in the targeted folder will generate a “Bad name for file” error when the app is run in 10.3.9. To work around this, I use do shell script "ls " & quoted form of POSIX path to (somefolderpath as string).

Has anyone else seen this and has it been documented somewhere that I may have missed?

hmm i’m seeing this in 10.4 with file names no longer than 20 characters including the extension. :frowning: