Removed .\ from taskkill

pull/102/head^2
Richard Newton 5 years ago committed by GitHub
parent 381375349d
commit 837994bf26
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -596,7 +596,7 @@ Function UninstallOneDrive {
Start-Sleep 2
Write-Output "Stopping explorer"
Start-Sleep 1
.\taskkill.exe /F /IM explorer.exe
taskkill.exe /F /IM explorer.exe
Start-Sleep 3
Write-Output "Removing leftover files"
Remove-Item "$env:USERPROFILE\OneDrive" -Force -Recurse

Loading…
Cancel
Save