Removes the filename and extension, if there is one.
|Path||A path with or without command line parameters.|
The path with the filename and extension.
The RemoveFilename service removes the filename and extension from the path and returns what's left. Quotes are preserved.
Note. This method supports paths that contain command line parameters. In this case, command line parameters are returned as well.
Result will be "C:\path1\path2\path3\".