diff --git a/src/Zio/FileSystems/PhysicalFileSystem.cs b/src/Zio/FileSystems/PhysicalFileSystem.cs index 1b1164b..ffc659f 100644 --- a/src/Zio/FileSystems/PhysicalFileSystem.cs +++ b/src/Zio/FileSystems/PhysicalFileSystem.cs @@ -977,7 +977,7 @@ protected override UPath ConvertPathFromInternalImpl(string innerPath) if (innerPath.StartsWith(@"\\", StringComparison.Ordinal) || innerPath.StartsWith(@"\?", StringComparison.Ordinal)) throw new NotSupportedException($"Path starting with `\\\\` or `\\?` are not supported -> `{innerPath}` "); - var absolutePath = Path.GetFullPath(innerPath); + var absolutePath = Path.IsPathRooted(innerPath) ? innerPath : Path.GetFullPath(innerPath); var driveIndex = absolutePath.IndexOf(":\\", StringComparison.Ordinal); if (driveIndex != 1) throw new ArgumentException($"Expecting a drive for the path `{absolutePath}`");