
\\\D\webVisionCore\root\test\dev\ApplicationEFĮdit: Ah, the issue seems to be that Resolve-Path sticks "\FileSystem::" on the front of UNC paths.$ for f1 in dir1/* do f2="dir2/$" & printf '%s\n' "$f2" done PS C:\Users\UserG> ::GetFullPath("\\\D\webVisionCore\root\test\dev\ApplicationEF")

PS C:\Users\UserG> ::GetFullPath("\\\D\Staging\test\dev\ApplicationEF\TS") + FullyQualifiedErrorId : ArgumentException + FullyQualifiedErrorId : ArgumentNull,Įxception calling "SetCurrentDirectory" with "1" argument(s): "Path cannot be the empty string or all whitespace." + CategoryInfo : InvalidArgument: (:), PSArgumentNullException Set-Location : Cannot process argument because the value of argument "path" is null. + FullyQualifiedErrorId : NotSupportedException

+ CategoryInfo : NotSpecified: (:), MethodInvocationException + $NormalizedPath = ::GetFullPath($TestPath) Here is an example: PS C:\Users\UserG> c:\temp\rdiff.ps1 \\\D\Staging\test\dev\ApplicationEF\TS,\\\D\webVisionCore\root\test\dev\ApplicationEFĬomparing \\\D\Staging\test\dev\ApplicationEF\TS to \\\D\webVisionCore\root\test\dev\ApplicationEF.Įxception calling "GetFullPath" with "1" argument(s): "The given path's format is not supported." When I pass in UNC paths to this, I get "The given path's format is not supported." error in GetFullPath(), but if I pass either of the paths to GetFullPath() directly, it works fine.any idea what the issue could be? $RightCsvPath = Join-Path $ExportSummary right.csv $LeftCsvPath = Join-Path $ExportSummary left.csv $SummaryPath = Join-Path $ExportSummary summary.txt $ExportSummary = ResolvePath path /to /summary /dir $ExportSummary # ADD LOCATION OF THIS SCRIPT TO PATH #įunction SetWorkDir( $PathName, $TestPath) | select RelativePath ,Hash

# USAGE: rdiff path/to/left,path/to/right #
