diff --git a/cleanW10.ps1 b/cleanW10.ps1 index d85fcbc..22f1b34 100755 --- a/cleanW10.ps1 +++ b/cleanW10.ps1 @@ -395,7 +395,7 @@ function DelFile { Write-Host -ForegroundColor Yellow "not found" return } - $command = "Remove-Item $path -ErrorAction SilentlyContinue -Force -Path `"$path`"" + $command = "Remove-Item -ErrorAction SilentlyContinue -Force -Path `"$path`"" if ( $params.ContainsKey('recurse') -and $params.recurse -eq $true ) { $command += "-Recurse" }