On 14/9/12 2:43, Mattias Gaertner wrote:
> > c: set of Char = ['<','>',':','"','/','\','|','?','*', '%', '.'];
> But several of those are fine in filenames- just inadvisable since they > need special quoting/escaping to get past the shell. As does ' ' which > isn't in your list :-) And it does not check for #0..#31, #127.
As is so often the case, a truly cross-platform solution requires a good deal more care and research (and cross-platform experience) than simply extending a Windows-only solution.
Howard _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal