Fix accent character issue in Path

This commit is contained in:
DESKTOP-RBH716R\Admin 2022-07-27 22:46:09 +05:30
parent f268429d21
commit a71e142fbc

View File

@ -12,7 +12,8 @@ try {
Return
}
if (Test-Path -LiteralPath $FilePath) {
if (Test-Path $FilePath) {
Start-Process $FilePath -Wait
Remove-Item -LiteralPath $FilePath -Force
$item = Get-Item -LiteralPath $FilePath
$item.Delete()
}