TPath.GetDirectoryName(..) from System.IoUtils will report "\\MySrv\MyFiles" for your file path.
If I understood correctly, you want to open Windows explorer in the directory that contains your file. There is an even better way: Open Windows explorer in that directory, and already select that file.
Here is how:
https://stackoverflow.com/q/15300999/2298252