diff --git a/windows/win_share.ps1 b/windows/win_share.ps1 index 86970f88d39..f409281711e 100644 --- a/windows/win_share.ps1 +++ b/windows/win_share.ps1 @@ -145,7 +145,7 @@ Try { } # normalize path and remove slash at the end - $path = (Get-Item $path).FullName -replace ".$" + $path = (Get-Item $path).FullName -replace "\\$" # need to (re-)create share If (!$share) {