Gets the part of the filename before the final dot.
Use PathExtension to return the rest of the filename starting with the final dot.If there are multiple dots in the filename, all but the last one are included in this function's result.
For instance, PathFileNameWithoutExtension("test.tar.gz") returns "test.tar".This is done by manipulating the path string.
No disk access is performed and the path does not need to actually exist.
function PathFileNameWithoutExtension(path as String) as String