Explorar el Código

Removed .\ from taskkill

Richard Newton hace 6 años
padre
commit
837994bf26
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      Windows10Debloater.ps1

+ 1 - 1
Windows10Debloater.ps1

@@ -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