Replaces the drive part of a path and returns the resulting path
Note: if URL is empty string the url part is removed, if the path has no url part the url part is added