From fc212fa7ce034345adce2ebeca191c95047cdaa1 Mon Sep 17 00:00:00 2001 From: Yorick Barbanneau Date: Fri, 23 Mar 2018 15:50:34 +0100 Subject: [PATCH] Syntax error in DelFile() --- cleanW10.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" }