Just to offer the alternative to the Test-Path cmdlet (since nobody mentioned it): [System.IO.File]::Exists($path).
確定! 回上一頁