This function returns the full file path and name of the given file, substituting it's existing file extension with the given extension.
FsChangeExtension([Path],[Extension])
Where:
Path is the path to the file to change
Extension is the new file extension, or an empty string to remove the file extension
Rule | Meaning |
---|---|
FsChangeExtension("C:\DriveWorks\ChangeFileExtension\MyFileName","xml") | This will return the value C:\DriveWorks\ChangeFileExtension\MyFileName.xml |