Hallo Joel,
aus der Hilfe:
Zitat:
Changes the extension of a file name.
Unit
SysUtils
Category
file name utilities
function ChangeFileExt(const FileName, Extension: string): string;
Description
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, it just creates a new file name string.
Note: This function works with multi-byte character sets (MBCS).
Als Extension kannst Du dann nichts, also '', eingeben.
Grüße
Klaus