📌  相关文章
📜  powershell 检查文件夹是否存在 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:50:09.503000             🧑  作者: Mango

代码示例2
$Folder = 'C:\Windows'
"Test to see if folder [$Folder]  exists"
if (Test-Path -Path $Folder) {
    "Path exists!"
} else {
    "Path doesn't exist."
}