Quote Originally Posted by Cer3brus
Thank you. Is there some specific code required to extract the extension?
If you want to change the file extension of a filename just do something like so:

[pascal]FileName := ChangeFileExt(FileName,'.bmp');[/pascal]
This will change the file extension to '.bmp' for example...

If you want to extract a file extension:

[pascal]Ext := ExtractFileExt(FileName);[/pascal]

cheers,
Paul