ChangeFileExt takes the file name passed in FileName and changes the extension of the file name to the extension passed in Extension. Extension specifies the new extension, including the initial dot character. ChangeFileExt does not rename the actual file
The ChangeFileExt function changes the Extension value of a file FileName, returning the new value as a string. Download this web site as a Windows program.
How to use ChangeFileExt woth Borlands DelphiExample: When you type the new extension into Edit1, put the "." in first. An example of this is .txt procedure TForm1 ...