|This method is obsolete. See the Remarks section below.|
Utilities.ChangeFileExt method takes the file name specified by the FileName parameter, changes its extension to the string passed as the Ext parameter (it must include the initial dot character) and returns the resulting string. The file whose extension is modified is not actually renamed, the function just returns the new file name.
The method is applied to the following object:
The method has the following parameters:
Specifies the name of the file whose extension should be changed.
Specifies the new extension of the file.
The file name with the new extension.
This method is obsolete. It is supported for backward compatibility only. To process files, use the methods of the