Ahh that damn long file name issue. I have the same problem with FileIO and
file names longer than 126 characters. (Seems to happen for me only on
Win2K). Have you tried using Buddy API's baShortFileName function.
Below is a sample snippet of code I use with my file IO wrappers...
-- If this is a windows platform and file name is longer than 126
characters then...
if the platform contains "Win" and pFilePath.char.count > 126 then
pFilePath = baShortFileName(pFilePath)
end if
Hope this helps.
ck
> List:
> Just a note. I was reading in data from files and all of a sudden it
> stopped working. When the path was greater than 126 characters it
> would not work!? I was using Director 8.5.
>
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list,
email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo. Thanks!]