What is the maximum length of a file name in the Posix name space?
I can only seem to get 16 character names. Mark Bixby replies: The limit for HFS filenames contained within MPE groups (/ACCOUNT/GROUP/hfsfilename) or MPE accounts (/ACCOUNT/hfsfilename) is 16 characters. But for HFS files stored in HFS directories, the filenames can be up to 255 characters. So you can do things like /ACCOUNT/GROUP/hfsdirectory/superduperreallylonghfsfilename below MPE groups as long as you use an HFS directory to store the long-named files. Barry Lake adds a word of caution: The overall HFS path can be as long as 1,023 characters. Beware, however: the CI has a maximum command buffer of 511 bytes, so you can t specify a HFS pathname greater than 511-(length of CI command). You can get around this by doing a CHDIR to a deeply nested directory and then use a relative HFS path rather than an absolute path. Depending upon what you re doing, you might also be able to get around it by dropping into the shell, in which case you get a much larger command buffer to work with. T