Colin Kettenacker wrote: > I could be wrong about this (it's been a while since I've used > fileIO) but I > thought fileIO only had a problem with long file paths in the openFile() > function. With the createFile() function you should be able to > use a normal file path without having to resort to the baShortfilename() function.
Colin you're brilliant! (fading memory or not) You can create a file with over 126 chars in the path (tested at 248) so I can then use baShortFilename..simple as that. As to why I would possibly want a path over 126 chars? It's just a case of better sure than sorry as the app I'm building will allow users to choose a destination for their files to be saved. (it's a catalogue with current cart able to be stored for later resume) The problem with the suggested approach of trimming the file name to 8:3 or using dummy files is of course the user getting to choose the file location and also issues like the winXP "My Documents" folder path taking up a third of the chars without even adding subfolders/files. Thanks for all the alternatives though Jakob,Daniel, Tab & even Icetroll ;) . I would be still working through them if not for Colin's suggestion. Brad [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/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!]
