diff --git a/tools/BundleAndDeploy.ps1 b/tools/BundleAndDeploy.ps1 index bbc0ed394c..7f47b4ad54 100644 --- a/tools/BundleAndDeploy.ps1 +++ b/tools/BundleAndDeploy.ps1 @@ -75,7 +75,7 @@ try $destDir = Join-Path $remoteDir -ChildPath $projectName if (Test-Path $destDir) { Write-Host "$destDir already exists. Removing it..." - rmdir -Recurse "$destDir" + cmd /c rmdir /S /Q "$destDir" } Write-Host "Copying bundled application to $destDir ..."