On 14/09/12 13:48, Krzysztof wrote: > I just quicky googled not allowed characters and wrote this simple function: Also in Windows (as far as I know), file names my not be longer than 255 characters. So you will have to check the length of AFilename parameter too. Regards, - Graeme -