$cs.File\_ExistDir
Syntax
Section titled “Syntax”$cs.File_ExistDir(string path)
Parameters
Section titled “Parameters”path
Path to check existence of
Example
Section titled “Example”if($cs.File_ExistDir("${env:ProgramFiles(x86)}\WinSCP")){ #do something}returns bool