Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Syntax

<dllobject>$cs.File_ExistDir(string path)

Parameters

path

Path to check existence of

...

Code Block
languagepowershell
if($cs.File_ExistDir("${env:ProgramFiles(x86)}\WinSCP"))
{
  #do something
}

returns nothingbool