Fix accent character issue in Path
This commit is contained in:
parent
f268429d21
commit
a71e142fbc
@ -12,7 +12,8 @@ try {
|
|||||||
Return
|
Return
|
||||||
}
|
}
|
||||||
|
|
||||||
if (Test-Path -LiteralPath $FilePath) {
|
if (Test-Path $FilePath) {
|
||||||
Start-Process $FilePath -Wait
|
Start-Process $FilePath -Wait
|
||||||
Remove-Item -LiteralPath $FilePath -Force
|
$item = Get-Item -LiteralPath $FilePath
|
||||||
|
$item.Delete()
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user