Adds an extension to the end of the path.
|Path||A path without command line parameters.|
|Extension||A new file extension with or without the period.|
The path with the file extension added.
The AddExtension service adds the given extension to the end of the path, ensuring exactly one period before it. You can pass the extension with or without the period. Note that the service does not care whether or not the path is well formed or already has an extension. It simply appends the text.
Both Result1 and Result2 will contain "C:\File.txt".
GetExtension, RemoveExtension, RenameExtension