Programming/Powershell

powershell Test-Path

Oth 2017. 6. 1. 15:46




Test-Path

해당 경로가 존재하는지를 검증하는 함수이다. 


$path = " "

if(-not (Test-Path $path))

{

write "aaaa"

}



저작자표시 비영리 (새창열림)